DEV Community

loading...

VanillaJS Customizable SelectBoxes

Bruno Vieira
Web Developer for more than 8 years, PHP, JavaScript, SQL, Node.js
・1 min read

Hey Guys,

I always had problems when it comes to styling native elements, but mainly SelectBoxes.

So i made a class that replaces native select elements with fully customizable dropdowns & searchbox.

Even though this replaces native select options, you can still use Form Submit, Onchange Events and Attributes as you would with normal usage.

Source: https://github.com/BMSVieira/BVSelect-VanillaJS
Demo : https://bmsvieira.github.io/BVSelect-VanillaJS/

Give it a try!

Discussion (0)