Explorar o código

MessageBox: fix invalid input border color when inputValidator returns string (#10729)

cnjs %!s(int64=7) %!d(string=hai) anos
pai
achega
f2988cd1bd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/message-box/src/main.vue

+ 1 - 0
packages/message-box/src/main.vue

@@ -223,6 +223,7 @@
             }
             if (typeof validateResult === 'string') {
               this.editorErrorMessage = validateResult;
+              addClass(this.getInputElement(), 'invalid');
               return false;
             }
           }