@gundersen as in, the first option in the article, or something even less?
@jaffathecake first option, but maybe even without the resetOption(). It's not difficult to clone the option and replace the value manually, is it?
@gundersen that's fair. selectedOption.replaceChildren(...select.selectedOptions[0].cloneNode(true).childNodes)
@jaffathecake first option, but maybe even without the resetOption(). It's not difficult to clone the option and replace the value manually, is it?