The text on a select element from a hidden option does not change when the option's text changes
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: fstolte, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
I placed a hidden option in a select element to show the text "Loading..." while the actual options were loading. The text of the option is then changed to "Loading failed" if the loading fails.
Minimal example to reproduce: https://jsfiddle.net/k28bgu09/1/
Actual results:
The text on the select element was still "Loading...".
However, the Dev-Tools show that the option was correctly updated, and hovering over the select element with the node picker sometimes made the correct text appear afterwards.
Expected results:
The text should have changed to "Loading failed" immediately, just as it does when the option is not hidden.
Comment 1•3 years ago
|
||
Bug 1744009 seems to solve this issue in 98.
Updated•3 years ago
|
Description
•