Selection doesn't set properly on newly created <select> element
See original GitHub issuein createElement
, setData
goes first, then run appendChild
.
This prevents <select>
from setting value
, in the time of setData
there are no child <option>
s, so no selection was made.
Any problems for reversing the order of setData
and appendChild
?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Changing it with jQuery select doesn't show selected option
Click on button should show that form and set some values in the fields. The input fields are filled with given values but...
Read more >Cannot select multiple objects in AutoCAD
On the Cursor & Selection tab, clear the Use Shift key to add to selection option. User-added image; Choose OK to close the...
Read more >Select data for a chart - Microsoft Support
Learn best ways to select a range of data to create a chart, and how that data needs to be arranged for specific...
Read more >Excel Data Validation Tips and Troubleshooting - Contextures
This page has data validation tips, and shows how to fix Excel data validation problems, such as drop down not working, blank selected, ......
Read more ><input type="radio"> - HTML: HyperText Markup Language
Once a radio group is established, selecting any radio button in that ... good reason to properly set up <label> elements on your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@JorgeBucaran wouldn’t it be a good idea to try and create a failing test before merging the fix? that would document the change better and avoid regressions in the future…
@acstll That sounds smart. I left @t-kinoshita a comment on the PR.