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