Changed updateValue...

This commit is contained in:
Daniel
2025-04-25 17:05:27 +02:00
committed by Markus Zolliker
parent 2fda3164e6
commit b9a1e7db99

View File

@ -313,10 +313,14 @@ function updateValue(component) {
let options = elem.childNodes;
for (var j = 0; j < options.length; j++) {
if (options[j].label == comp_value) {
if (options[j].label == component.value) {
elem.value = j + 1;
}
}
} else if (type == "pushbutton") {
console.log('update pushbutton');
console.log('component.name:', component.name);
console.log('element', elem);
}
}
}