mirror of https://github.com/node-red/node-red.git
Fix a String value is an error, so return the value
parent
34ed9c5cd8
commit
da7c7ede02
|
@ -192,7 +192,7 @@ RED.editor = (function() {
|
|||
if (isTypedInput) {
|
||||
valid = input.typedInput("validate", { returnErrorMessage: true });
|
||||
if (typeof valid === "string") {
|
||||
valid = label ? label + ": " + valid : valid;
|
||||
return label ? label + ": " + valid : valid;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue