mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge branch 'master' into Add-action-list-Chinese-translation
This commit is contained in:
@@ -56,6 +56,9 @@ RED.validators = {
|
||||
if (options.allowBlank && v === '') {
|
||||
return true
|
||||
}
|
||||
if (options.allowUndefined && v === undefined) {
|
||||
return true
|
||||
}
|
||||
const result = RED.utils.validateTypedProperty(v, ptype, opt)
|
||||
if (result === true || opt) {
|
||||
// Valid, or opt provided - return result as-is
|
||||
|
Reference in New Issue
Block a user