1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Trigger change evnt on typedInput when type changes and options present

Fixes #2160
This commit is contained in:
Nick O'Leary 2019-05-17 11:45:16 +01:00
parent 91473e731e
commit 6a57d25f4a
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -159,11 +159,11 @@
that.uiSelect.css("margin"+d,m);
that.input.css("margin"+d,0);
});
["type","placeholder"].forEach(function(d) {
var m = that.element.attr(d);
that.input.attr(d,m);
});
});
this.uiSelect.addClass("red-ui-typedInput-container");
@ -635,6 +635,7 @@
}
}
}
this.input.trigger('change',this.propertyType,this.value());
} else {
if (this.optionSelectTrigger) {
this.optionSelectTrigger.hide();