How to disabled some value in select/options? Please see attached pic.
How to disabled some value in select/options? Please see attached pic.
This question has an accepted answers - jump to answer
This discussion has been closed.
This question has an accepted answers - jump to answer
Answers
Where is that select list. Is it in an Editor field or some other external component?
Allan
In editor field sir allan.
Hi sir @allan, follow up on this. Thanks
You would need to use something like:
i.e. use
field().input()
to get theselect
element, then a little selector to get theoption
you want to disable and add a suitable attribute to it.Allan
Thank you Sir @allan, It's working.