mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
@@ -106,6 +106,10 @@
|
|||||||
},
|
},
|
||||||
oneditprepare: function() {
|
oneditprepare: function() {
|
||||||
var that = this;
|
var that = this;
|
||||||
|
if (!this.field) {
|
||||||
|
this.field = 'payload';
|
||||||
|
$("#node-input-field").val("payload");
|
||||||
|
}
|
||||||
if (!this.fieldType) {
|
if (!this.fieldType) {
|
||||||
this.fieldType = 'msg';
|
this.fieldType = 'msg';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user