Is there any way to share <option>
tags between different <select>
tags?
I have many selects, and all of them have the same exact options. Since I don't want to populate the DOM with too many duplicates, I changed to using an input with a single datalist to share the options, however this both has issues with events (only fires a change event when unfocused, or the client presses enter), and also allows the client to write anything he wants, which really doesn't suit my case.