Changed updateValue...
This commit is contained in:
@ -313,10 +313,14 @@ function updateValue(component) {
|
|||||||
|
|
||||||
let options = elem.childNodes;
|
let options = elem.childNodes;
|
||||||
for (var j = 0; j < options.length; j++) {
|
for (var j = 0; j < options.length; j++) {
|
||||||
if (options[j].label == comp_value) {
|
if (options[j].label == component.value) {
|
||||||
elem.value = j + 1;
|
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