fix: select focus border in form when has error (#27378)

This commit is contained in:
xrk 2020-10-26 18:36:39 +08:00 committed by GitHub
parent c84cd88f51
commit 88414b3b33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,6 +144,10 @@
&.@{ant-prefix}-select-focused .@{ant-prefix}-select-selector {
.active(@warning-color);
}
&-focused,
&:focus {
.active(@warning-color);
}
}
//input-number, timepicker
@ -185,6 +189,10 @@
&.@{ant-prefix}-select-focused .@{ant-prefix}-select-selector {
.active(@error-color);
}
&-focused,
&:focus {
.active(@error-color);
}
}
// fixes https://github.com/ant-design/ant-design/issues/20482