Add property validation to nodes using typedInput

This commit is contained in:
Nick O'Leary
2017-01-06 23:18:50 +00:00
parent 4b83d8160f
commit aafcfef387
5 changed files with 8 additions and 8 deletions

View File

@@ -78,7 +78,7 @@
category: 'function',
defaults: {
name: {value:""},
field: {value:"payload"},
field: {value:"payload", validate: RED.validators.typedInput("fieldType")},
fieldType: {value:"msg"},
format: {value:"handlebars"},
syntax: {value:"mustache"},