mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
added default 'low' and 'high' values when adding the node to a flow
This commit is contained in:
parent
f6280ef793
commit
18c3aa737e
@ -31,8 +31,8 @@
|
|||||||
color:"#E2D96E",
|
color:"#E2D96E",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
low: {value:"",validate:function(v) { return !isNaN(v) || v.length === 0;} },
|
low: {value: 1,validate:function(v) { return !isNaN(v) || v.length === 0;} },
|
||||||
high: {value:"",validate:function(v) { return !isNaN(v) || v.length === 0;} },
|
high: {value: 10,validate:function(v) { return !isNaN(v) || v.length === 0;} },
|
||||||
inte: {value:"true"},
|
inte: {value:"true"},
|
||||||
property: {value:"payload",required:true}
|
property: {value:"payload",required:true}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user