added default 'low' and 'high' values when adding the node to a flow

This commit is contained in:
juggledad 2020-11-14 06:06:04 -05:00 committed by GitHub
parent f6280ef793
commit 18c3aa737e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,8 @@
color:"#E2D96E",
defaults: {
name: {value:""},
low: {value:"",validate:function(v) { return !isNaN(v) || v.length === 0;} },
high: {value:"",validate:function(v) { return !isNaN(v) || v.length === 0;} },
low: {value: 1,validate:function(v) { return !isNaN(v) || v.length === 0;} },
high: {value: 10,validate:function(v) { return !isNaN(v) || v.length === 0;} },
inte: {value:"true"},
property: {value:"payload",required:true}
},