Skip to content

Commit

Permalink
fix(VTextarea): persistentPlaceholder shouldn't affect hint
Browse files Browse the repository at this point in the history
fixes #17060
  • Loading branch information
KaelWD committed Apr 2, 2023
1 parent ebc9442 commit 5cf3bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VTextarea/VTextarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const VTextarea = genericComponent<Omit<VInputSlots & VFieldSlots, 'defau
const messages = computed(() => {
return props.messages.length
? props.messages
: (isActive.value || props.persistentHint) ? props.hint : ''
: (isFocused.value || props.persistentHint) ? props.hint : ''
})

function onFocus () {
Expand Down

0 comments on commit 5cf3bff

Please sign in to comment.