Update UiObject.js
This commit is contained in:
1 parent
7e6919b391
commit
bd17df4d33
1 file changed
+1
-1
@@ -1394,7 +1394,7 @@ function newUiObject() {
|
||||
|
||||
label = errorMessage
|
||||
|
||||
if (label !== undefined) {
|
||||
if (label !== undefined && label !== null) {
|
||||
if (label.length > MAX_LABEL_LENGTH) {
|
||||
label = label.substring(0, MAX_LABEL_LENGTH) + '...'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user