re: Creating A Custom, Accessible Drop Down VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Nice article! I have a question... why do you do this invasive customisation? Why recreating a custom element that behaves like the native one, i...
 

As soon as you need integrated search, or icons on the options, the native select won't do. And sometimes you can't talk the client out of it.

Maybe this would work well as Web-Component, also.

 

Maybe this would work well as Web-Component, also.

Yes this is a classic use case for web components, and if you can't make a web component you should just use both native and custom elements. BTW You can already make a native select with search using the <datalist> element that is being implemented.

jsfiddle.net/equinusocio/yj9fb7Lx/4/

code of conduct - report abuse