Fix dropdown

This commit is contained in:
Pieter Vander Vennet 2024-08-26 17:23:41 +02:00
parent 9b505f33d0
commit 8cdfa67868

View file

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