mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
MessageBox: fix invalid input border color when inputValidator returns string (#10729)
This commit is contained in:
@@ -223,6 +223,7 @@
|
||||
}
|
||||
if (typeof validateResult === 'string') {
|
||||
this.editorErrorMessage = validateResult;
|
||||
addClass(this.getInputElement(), 'invalid');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user