Fix RBE node gap validation to allow floating point
This commit is contained in:
parent
c28f46ec9d
commit
11dfcd4a46
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name" : "node-red-node-rbe",
|
||||
"version" : "0.1.0",
|
||||
"version" : "0.1.1",
|
||||
"description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capability.",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
defaults: {
|
||||
name: {value:""},
|
||||
func: {value:"rbe"},
|
||||
gap: {value:"",validate:RED.validators.regex(/^(\d*|)(%|)$/)}
|
||||
gap: {value:"",validate:RED.validators.regex(/^(\d*[.]*\d*|)(%|)$/)}
|
||||
},
|
||||
inputs:1,
|
||||
outputs:1,
|
||||
|
|
Loading…
Reference in New Issue