When you modify the text in a <select>
's selected <option>
, the text display on the select element should reflect that new value,
It does not.
A website that is broken by this is https://battle.crossuniverse.net/settings (see the language dropdown at the very top)
Linux
text
, innerHTML
, innerText
, textContent
or to setHTMLUnsafe()
its contents or to append or remove children from it etc...The text on the select element should update to reflect the new content of the option element.
The select element does not update to reflect the new content of the option element.
data:text/html,<script>foo.textContent="foo"</script>
<select>
<option id="foo"></option>
</select>
<script>foo.textContent = "foo";</script>
Nothing.
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too