Skip to content

Commit ace942e

Browse files
imdapvince292007
andauthored
fix: the focus style and antd of the input box validation failure should be consistent (vbenjs#4446)
* fix: hover border style same as antd style when validate error * fix: hover border style same as antd style when validate error * feat(@vben-core/form-ui): Default form validation rules applicable to selector components * fix: Missing the default required label style for components such as select * fix: the focus style and antd of the input box validation failure should be consistent * fix: the focus style and antd of the input box validation failure should be consistent --------- Co-authored-by: vince <[email protected]>
1 parent f9359ed commit ace942e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@core/ui-kit/form-ui/src/form-render/form-field.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ function createComponentProps(slotProps: Record<string, any>) {
264264
<component
265265
:is="fieldComponent"
266266
:class="{
267-
'border-destructive focus:border-destructive hover:border-destructive/80':
267+
'border-destructive focus:border-destructive hover:border-destructive/80 focus:shadow-[0_0_0_2px_rgba(255,38,5,0.06)]':
268268
isInValid,
269269
}"
270270
v-bind="createComponentProps(slotProps)"

0 commit comments

Comments
 (0)