From 2ecdc6759c26bcc8c685f05991f35272af735d05 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Tue, 6 Aug 2019 06:34:42 +0800 Subject: [PATCH] [bugfix] Field: error prop not work (#1827) --- packages/field/index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/field/index.less b/packages/field/index.less index a58f91de..93c88abf 100644 --- a/packages/field/index.less +++ b/packages/field/index.less @@ -26,6 +26,10 @@ box-sizing: border-box; resize: none; + &--error { + color: @red; + } + &--disabled { color: @gray-dark; background-color: transparent;