I'm trying to hide items from a dropdown by value
. In Chrome and Android worked, however on the iPhone
option[value="home-01"]{
display: none;
}
I'm trying to hide items from a dropdown by value
. In Chrome and Android worked, however on the iPhone
option[value="home-01"]{
display: none;
}
Safari prevents form elements from being changed by css using display: none. Long story.
The alternative would be to manipulate these options using js.
There are a number of cases with this same OS problem. All with the same answer: it does not. See here a similar post .