Skip to content

Commit 44ef316

Browse files
committed
fix(VSelect): show placeholder when using persistentPlaceholder
fixes #13792
1 parent a29b965 commit 44ef316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vuetify/src/components/VSelect/VSelect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export default baseMixins.extend<options>().extend({
455455
'aria-readonly': String(this.isReadonly),
456456
'aria-activedescendant': getObjectValueByPath(this.$refs.menu, 'activeTile.id'),
457457
autocomplete: getObjectValueByPath(input.data!, 'attrs.autocomplete', 'off'),
458-
placeholder: (!this.isDirty && (this.isFocused || !this.hasLabel)) ? this.placeholder : undefined,
458+
placeholder: (!this.isDirty && (this.persistentPlaceholder || this.isFocused || !this.hasLabel)) ? this.placeholder : undefined,
459459
},
460460
on: { keypress: this.onKeyPress },
461461
})

0 commit comments

Comments
 (0)