mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix the check for nbRateUnits
This commit is contained in:
parent
fcb6f78d54
commit
289de85754
@ -99,7 +99,7 @@
|
|||||||
timeout: {value:"5", required:true, validate:RED.validators.number()},
|
timeout: {value:"5", required:true, validate:RED.validators.number()},
|
||||||
timeoutUnits: {value:"seconds"},
|
timeoutUnits: {value:"seconds"},
|
||||||
rate: {value:"1", required:true, validate:RED.validators.number()},
|
rate: {value:"1", required:true, validate:RED.validators.number()},
|
||||||
nbRateUnits: {value:"1", required:true, validate:RED.validators.number()},
|
nbRateUnits: {value:"1", required:false, validate:RED.validators.regex(/\d+|/)},
|
||||||
rateUnits: {value: "second"},
|
rateUnits: {value: "second"},
|
||||||
randomFirst: {value:"1", required:true, validate:RED.validators.number()},
|
randomFirst: {value:"1", required:true, validate:RED.validators.number()},
|
||||||
randomLast: {value:"5", required:true, validate:RED.validators.number()},
|
randomLast: {value:"5", required:true, validate:RED.validators.number()},
|
||||||
|
Loading…
Reference in New Issue
Block a user