From 18c3aa737e260b1fdb13d275c01382fbfda6abd2 Mon Sep 17 00:00:00 2001 From: juggledad Date: Sat, 14 Nov 2020 06:06:04 -0500 Subject: [PATCH] added default 'low' and 'high' values when adding the node to a flow --- function/random/random.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/function/random/random.html b/function/random/random.html index dd25e067..7443615f 100644 --- a/function/random/random.html +++ b/function/random/random.html @@ -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} },