Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Technically native selects do have a very rudimentary form of filtering: start typing text with the select focused and it will auto-select the first matching option.

E.g. if the select is a list of US states, type "N" and it will jump to Nebraska. Continue into "New" and you'll get New Hampshire, etc.

This is better than nothing (and I personally use it all the time) but not a patch on an actual proper select-with-filtering which, yes, you still need JS to implement properly.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: