Changed updateValue...
This commit is contained in:
1 parent
b2d6422f9d
commit
d15b72fa98
1 file changed
+5
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user