https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
Provide a custom basic vanilla workaround example for customizing the style of the select element.
A similar approach as done here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
Hi @mattiapontonio !
Thanks again for another great example. I've moved it to be part of the examples section, improved the formatting a bit, and added a little bit of description at the top.
I was wondering if you could look at:
<datalist> element via JS is interesting; I also wonder how accessible that is.I don't know if this can scale 🙂
I'm joking. Thank You, yes I Will look at It.
It's all good ;-)
Obviously, there's no tight timescale for this, just some things to think about to make it even better.
I've had another look at this, and it works pretty well now, @mattiapontonio . The main things for me were keyboard accessibility and maintaining a fixed width. I think this is good enough to leave as is for now, although I'm obviously not going to stop you from adding more improvements!
@chrisdavidmills thank You.
Deployed this: https://github.com/mattiapontonio/select/tree/0.0.1