Skip to content

Commit

Permalink
fix: the focus style and antd of the input box validation failure sho…
Browse files Browse the repository at this point in the history
…uld be consistent
  • Loading branch information
imdap committed Sep 20, 2024
1 parent 59dbd06 commit f197139
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function createComponentProps(slotProps: Record<string, any>) {
<component
:is="fieldComponent"
:class="{
'border-destructive focus:border-destructive hover:border-destructive/80 focus:shadow-[0_0_0_4px_rgba(255,38,5,0.06)]':
'border-destructive focus:border-destructive hover:border-destructive/80 focus:shadow-[0_0_0_2px_rgba(255,38,5,0.06)]':
isInValid,
}"
v-bind="createComponentProps(slotProps)"
Expand Down

0 comments on commit f197139

Please sign in to comment.