[Dropdown] option text is filled with value if empty #1191
Labels
lang/javascript
Anything involving JavaScript
type/bug
Any issue which is a bug or PR which fixes a bug
Milestone
Bug Report
When I create a dropdown from a select, all options that had an empty text get the value as their text.
This was introduced in #1112:
Is this behavour intentional? It doesn't happen on normal selects.
Steps to reproduce
Expected result
The first option is empty.
Screenshot
Actual result
The first option has "-1" as its text.
Screenshot
Testcase
https://jsfiddle.net/mons57e2/
Version
Since #1112
The text was updated successfully, but these errors were encountered: