mirror of https://github.com/node-red/node-red.git
Reset typedInput option when type changes
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