dropdown: reset the underlying dropdown when the widget's value is undefined

This commit is contained in:
bordun 2021-04-30 14:37:42 +02:00
parent dab6093c4b
commit e02cc3de24

View file

@ -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()