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

---------
master
LinaBell 1 year ago committed by GitHub
parent d574fb8b6d
commit f25783933d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -264,7 +264,8 @@ function createComponentProps(slotProps: Record<string, any>) {
<component
:is="fieldComponent"
:class="{
'border-destructive focus:border-destructive': isInValid,
'border-destructive focus:border-destructive hover:border-destructive/80':
isInValid,
}"
v-bind="createComponentProps(slotProps)"
:disabled="shouldDisabled"

Loading…
Cancel
Save