mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Reset typedInput option when type changes
This commit is contained in:
parent
f5e212ff1e
commit
bdf87452b6
@ -496,7 +496,11 @@
|
||||
} else {
|
||||
that.activeOptions[o.value] = o;
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
if (!that.activeOptions.hasOwnProperty(that.optionValue)) {
|
||||
that.optionValue = null;
|
||||
}
|
||||
this.optionMenu = this._createMenu(opt.options,function(v){
|
||||
that._updateOptionSelectLabel(that.activeOptions[v]);
|
||||
if (!opt.hasValue) {
|
||||
|
Loading…
Reference in New Issue
Block a user