Search items in drop down LIKE "%xyz%"
Hi, In website's drop down lists (HTML select elements), I know you can "go to first item starting with xyz" by typing xyz.
But is there a way to go to first item that contains xyz?
For instance, if I have a long drop down list (HTML select) with the name of the countries, I can hightlight "France" by typing "Fra". Can I highlight it by typing something like "ance"? If not, I guess I should open a bugzilla ticket.
My actual usecase is that the select values are not starting with the country names, but starting with special characters " » France", and the number of spaces before the quotes may vary.
You have to enter about:config in the URL bar and set dom.forms.selectSearch = true. It adds ability to filter long drop down lists.Read this answer in context 1
Additional System Details
- User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
You have to enter about:config in the URL bar and set dom.forms.selectSearch = true. It adds ability to filter long drop down lists.
Wow, this is very neat! Thanks!
Why isn't this option activated by default (maybe with another preference to show it only for select with more than N options)?
(Maybe I should ask that on bugzilla then, please tell me if so)