fix: the focus style and antd of the input box validation failure should be consistent (#4446)
* fix: hover border style same as antd style when validate error * fix: hover border style same as antd style when validate error * feat(@vben-core/form-ui): Default form validation rules applicable to selector components * fix: Missing the default required label style for components such as select * fix: the focus style and antd of the input box validation failure should be consistent * fix: the focus style and antd of the input box validation failure should be consistent --------- Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
parent
f9359ed0f9
commit
ace942e2df
@ -264,7 +264,7 @@ function createComponentProps(slotProps: Record<string, any>) {
|
|||||||
<component
|
<component
|
||||||
:is="fieldComponent"
|
:is="fieldComponent"
|
||||||
:class="{
|
:class="{
|
||||||
'border-destructive focus:border-destructive hover:border-destructive/80':
|
'border-destructive focus:border-destructive hover:border-destructive/80 focus:shadow-[0_0_0_2px_rgba(255,38,5,0.06)]':
|
||||||
isInValid,
|
isInValid,
|
||||||
}"
|
}"
|
||||||
v-bind="createComponentProps(slotProps)"
|
v-bind="createComponentProps(slotProps)"
|
||||||
|
Loading…
Reference in New Issue
Block a user