now there is a less
.has-error{
.ant-form-explain{
color: @error-color !important
}
.ant-select-selection{
border-color: @error-color !important;
}
.ant-input {
border-color: @error-color !important;
}
.ant-input-number {
border-color: @error-color !important;
}
}
is there any way to set the class? at the beginning of all ant
under .has-error
or pass in parameters such as form-explain select-selection
. You don"t have to copy it every time.