From 9c3c88d3ccc017a843e440927e13720e76cfa361 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 9 Oct 2017 13:46:56 +0800 Subject: [PATCH] Fix focused cascader error style --- components/form/style/index.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/form/style/index.less b/components/form/style/index.less index ff9ac15f74..9ce50e95f4 100644 --- a/components/form/style/index.less +++ b/components/form/style/index.less @@ -464,6 +464,10 @@ form { border-color: @warning-color; } } + + .@{ant-prefix}-cascader-picker:focus .@{ant-prefix}-cascader-input { + .active(@warning-color); + } } .has-error { @@ -525,6 +529,10 @@ form { .active(@error-color); } } + + .@{ant-prefix}-cascader-picker:focus .@{ant-prefix}-cascader-input { + .active(@error-color); + } } .is-validating {