Commit f2578393 by LinaBell Committed by GitHub

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

---------
1 parent d574fb8b
......@@ -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"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!