问题
This is a follow up question to a solution for another question of mine. Replacing the elements works fine on any desktop browser I've tested (FF, Edge, Chrome), but on my test iPad, it still shows the flags instead of the country names.
I already made sure, that the focus event fires on iOS.
To replicate the issue, you can just open the fiddle linked in the question above on iOS and your regular desktop browser and compare the result. On the desktop, it will show full country names in the expanded dropdown. On iOS Safari it will show two-letter ISO codes instead, which is not the expected behavior.
Do you have an idea, why Brother Woodrow's solution doesn't work on iOS Safari?
来源:https://stackoverflow.com/questions/60394539/replacing-select-options-on-focus-via-knockout-js-doesnt-work-on-ios-safari