mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Pass type/value on typedInput.change event
This commit is contained in:
parent
b21745808b
commit
0d4d51fc39
@ -313,7 +313,7 @@
|
|||||||
this.optionSelectLabel.text(value);
|
this.optionSelectLabel.text(value);
|
||||||
}
|
}
|
||||||
this.element.val(value);
|
this.element.val(value);
|
||||||
this.element.trigger('change');
|
this.element.trigger('change',this.type(),value);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
type: function(type) {
|
type: function(type) {
|
||||||
@ -369,7 +369,7 @@
|
|||||||
}
|
}
|
||||||
this.element.show();
|
this.element.show();
|
||||||
}
|
}
|
||||||
this.element.trigger('change');
|
this.element.trigger('change',this.propertyType,this.value());
|
||||||
}
|
}
|
||||||
if (image) {
|
if (image) {
|
||||||
image.onload = function() { that._resize(); }
|
image.onload = function() { that._resize(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user