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

Handle changing types of TypedInput repeatedly

Fixes #3222
This commit is contained in:
Nick O'Leary 2021-10-25 13:54:42 +01:00
parent 5a012182d9
commit ba83be9062
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

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;