mirror of https://github.com/ElemeFE/element
MessageBox: fix invalid input border color when inputValidator returns string (#10729)
parent
3eb377f72f
commit
f2988cd1bd
|
@ -223,6 +223,7 @@
|
|||
}
|
||||
if (typeof validateResult === 'string') {
|
||||
this.editorErrorMessage = validateResult;
|
||||
addClass(this.getInputElement(), 'invalid');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue