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

Refresh type options properly when typedInput.types called

This commit is contained in:
Nick O'Leary 2018-06-21 10:49:39 +01:00
parent 461e6562ca
commit f5e212ff1e
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -418,6 +418,9 @@
this.menu = this._createMenu(this.typeList, function(v) { that.type(v) });
if (currentType && !this.typeMap.hasOwnProperty(currentType)) {
this.type(this.typeList[0].value);
} else {
this.propertyType = null;
this.type(currentType);
}
setTimeout(function() {that._resize();},0);
},