Fixed #111 - Add p-placeholder class to Multiselect label

pull/132/head
cagataycivici 2019-12-20 18:23:59 +03:00
parent ddd0b8092c
commit e5d88dc518
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ export default {
return [ return [
'p-multiselect-label', 'p-multiselect-label',
{ {
'p-placeholder': this.label == null && this.placeholder, 'p-placeholder': this.label === this.placeholder,
'p-multiselect-label-empty': !this.placeholder && (!this.value || this.value.length === 0) 'p-multiselect-label-empty': !this.placeholder && (!this.value || this.value.length === 0)
} }
]; ];