fix: hover border style same as antd style when validate error (#4409)
* fix: hover border style same as antd style when validate error * fix: hover border style same as antd style when validate error ---------pull/48/MERGE
parent
d574fb8b6d
commit
f25783933d
|
@ -264,7 +264,8 @@ function createComponentProps(slotProps: Record<string, any>) {
|
||||||
<component
|
<component
|
||||||
:is="fieldComponent"
|
:is="fieldComponent"
|
||||||
:class="{
|
:class="{
|
||||||
'border-destructive focus:border-destructive': isInValid,
|
'border-destructive focus:border-destructive hover:border-destructive/80':
|
||||||
|
isInValid,
|
||||||
}"
|
}"
|
||||||
v-bind="createComponentProps(slotProps)"
|
v-bind="createComponentProps(slotProps)"
|
||||||
:disabled="shouldDisabled"
|
:disabled="shouldDisabled"
|
||||||
|
|
Loading…
Reference in New Issue