Skip to content

Commit

Permalink
fix(VFileInput): allow dirty prop to trigger dirty state
Browse files Browse the repository at this point in the history
fixes #19699
  • Loading branch information
yuwu9145 committed May 9, 2024
1 parent b45ab1a commit 85c41db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VFileInput/VFileInput.tsx
Expand Up @@ -211,7 +211,7 @@ export const VFileInput = genericComponent<VFileInputSlots>()({
{ ...fieldProps }
id={ id.value }
active={ isActive.value || isDirty.value }
dirty={ isDirty.value }
dirty={ isDirty.value || props.dirty }
disabled={ isDisabled.value }
focused={ isFocused.value }
error={ isValid.value === false }
Expand Down

0 comments on commit 85c41db

Please sign in to comment.