mirror of https://github.com/node-red/node-red.git
My bad, options can be undefined
parent
da7c7ede02
commit
bd2c020e84
|
@ -1580,7 +1580,7 @@
|
|||
tooltip.delete();
|
||||
}
|
||||
}
|
||||
if (options.returnErrorMessage === true) {
|
||||
if (options?.returnErrorMessage === true) {
|
||||
return valid;
|
||||
}
|
||||
// Must return a boolean for no 3.x validator
|
||||
|
|
Loading…
Reference in New Issue