dropdown: reset the underlying dropdown when the widget's value is undefined
This commit is contained in:
parent
dab6093c4b
commit
e02cc3de24
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class Dropdown extends MenuBase {
|
|||
|
||||
this.value = this.values[i]
|
||||
|
||||
if (!options.fromLocal) this.select.selectedIndex = i
|
||||
this.select.selectedIndex = i
|
||||
this.selected = i
|
||||
|
||||
this.setLabel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue