Merge pull request #3223 from node-red/ti-fix

Handle changing types of TypedInput repeatedly
This commit is contained in:
Nick O'Leary
2021-10-25 13:55:38 +01:00
committed by GitHub

View File

@@ -923,7 +923,7 @@
var previousType = this.typeMap[this.propertyType];
previousValue = this.input.val();
if (this.typeChanged) {
if (previousType && this.typeChanged) {
if (this.options.debug) { console.log(this.identifier,"typeChanged",{previousType,previousValue}) }
if (previousType.options && opt.hasValue !== true) {
this.oldValues[previousType.value] = previousValue;