state: don't attempt to apply state on value-less widgets

This commit is contained in:
jean-emmanuel 2023-03-05 01:28:36 +01:00
parent 81b6ca0557
commit ccf3613424

View file

@ -63,7 +63,7 @@ var StateManager = class StateManager {
for (var j = widgets.length - 1; j >= 0; j--) {
if (widgets[j].setValue) {
if (widgets[j].setValue && !w.noValueState) {
widgets[j].setValue(value, {send:send, sync:true, fromState:true})