forked from MapComplete/MapComplete
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) {
|
if (!htmlElement) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const v = value.data
|
const v = "" + value.data
|
||||||
for (let option of htmlElement.getElementsByTagName("option")) {
|
for (let option of htmlElement.getElementsByTagName("option")) {
|
||||||
if (option.value === v) {
|
if (option.value === v) {
|
||||||
option.selected = true
|
option.selected = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue