1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #3358 from node-red-hitachi/fix-property-error-tooltip

fix to make start of property error tooltip messages aligned
This commit is contained in:
Nick O'Leary 2022-01-15 19:44:18 +00:00 committed by GitHub
commit 310a279aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -596,7 +596,7 @@ RED.view = (function() {
}, },
tooltip: function(d) { tooltip: function(d) {
if (d.validationErrors && d.validationErrors.length > 0) { if (d.validationErrors && d.validationErrors.length > 0) {
return RED._("editor.errors.invalidProperties")+"\n - "+d.validationErrors.join("\n - ") return RED._("editor.errors.invalidProperties")+"\n - "+d.validationErrors.join("\n - ")
} }
}, },
show: function(n) { return !n.valid } show: function(n) { return !n.valid }