Fixed #871 - Improve float label support in overlay selects

pull/880/head
Cagatay Civici 2021-01-20 10:50:41 +03:00
parent 64ca83ffe2
commit 6ac13efddb
2 changed files with 2 additions and 2 deletions

View File

@ -482,7 +482,7 @@ export default {
'p-dropdown-clearable': this.showClear && !this.disabled, 'p-dropdown-clearable': this.showClear && !this.disabled,
'p-focus': this.focused, 'p-focus': this.focused,
'p-inputwrapper-filled': this.modelValue, 'p-inputwrapper-filled': this.modelValue,
'p-inputwrapper-focus': this.focused 'p-inputwrapper-focus': this.focused || this.overlayVisible
} }
]; ];
}, },

View File

@ -434,7 +434,7 @@ export default {
'p-disabled': this.disabled, 'p-disabled': this.disabled,
'p-focus': this.focused, 'p-focus': this.focused,
'p-inputwrapper-filled': this.modelValue && this.modelValue.length, 'p-inputwrapper-filled': this.modelValue && this.modelValue.length,
'p-inputwrapper-focus': this.focused 'p-inputwrapper-focus': this.focused || this.overlayVisible
} }
]; ];
}, },