mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
let discovery node not flag empty service type
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
topic: {value:""},
|
||||
service: {value:"",required:true,validate:RED.validators.regex(/^_.*\._(tc|ud)p$/)}
|
||||
service: {value:"",validate:RED.validators.regex(/^$|^_.*\._(tc|ud)p$/)} // (/^(\d*|)$/)
|
||||
},
|
||||
inputs:0,
|
||||
outputs:1,
|
||||
|
Reference in New Issue
Block a user