Fix dropdown
This commit is contained in:
parent
9b505f33d0
commit
8cdfa67868
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
if (!htmlElement) {
|
||||
return
|
||||
}
|
||||
const v = value.data
|
||||
const v = "" + value.data
|
||||
for (let option of htmlElement.getElementsByTagName("option")) {
|
||||
if (option.value === v) {
|
||||
option.selected = true
|
||||
|
|
Loading…
Reference in a new issue