Skip to content

Commit

Permalink
fix: hover border style same as antd style when validate error (#4409)
Browse files Browse the repository at this point in the history
* fix: hover border style same as antd style when validate error

* fix: hover border style same as antd style when validate error

---------
  • Loading branch information
imdap committed Sep 19, 2024
1 parent d574fb8 commit f257839
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@core/ui-kit/form-ui/src/form-render/form-field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f257839

Please sign in to comment.