Skip to content

Commit

Permalink
fix(VTextField): remain placeholder after values selected
Browse files Browse the repository at this point in the history
fixes vuetifyjs#16519
fixes vuetifyjs#16493
Fix placeholder remains displayed when selecting items in components like VCombobox and VAutoComplete
  • Loading branch information
gitemad committed Feb 1, 2023
1 parent e667a0a commit 52fe03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VTextField/VTextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const VTextField = genericComponent<new () => {
readonly={ isReadonly.value }
disabled={ isDisabled.value }
name={ props.name }
placeholder={ props.placeholder }
placeholder={ isDirty.value ? '' : props.placeholder }
size={ 1 }
type={ props.type }
onFocus={ onFocus }
Expand Down

0 comments on commit 52fe03d

Please sign in to comment.