dropdown: remove jquery remain that prevents showing no value selected
This commit is contained in:
parent
cf5fea6012
commit
227e6431f3
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ module.exports = class Dropdown extends _widgets_base {
|
|||
this.container.classList.remove('noselect')
|
||||
} else {
|
||||
this.value = undefined
|
||||
this.select[0].selectedIndex = -1
|
||||
this.select.selectedIndex = -1
|
||||
if (options.sync) this.changed(options)
|
||||
this.container.classList.add('noselect')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue