This commit is contained in:
dap
2024-09-19 19:09:35 +08:00
3 changed files with 46 additions and 8 deletions

View File

@@ -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"