From 08207930a5310681f2f16aebf4db1aebef33e46a Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Thu, 27 Aug 2020 13:40:38 +0300 Subject: [PATCH] Fixed #450 - When autocomplete is bound to an object, float label overlaps in some circumstances --- src/components/autocomplete/AutoComplete.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/autocomplete/AutoComplete.vue b/src/components/autocomplete/AutoComplete.vue index edaffad76..b96911f80 100755 --- a/src/components/autocomplete/AutoComplete.vue +++ b/src/components/autocomplete/AutoComplete.vue @@ -395,7 +395,7 @@ export default { return ['p-autocomplete p-component', { 'p-autocomplete-dd': this.dropdown, 'p-autocomplete-multiple': this.multiple, - 'p-inputwrapper-filled': ((this.value && this.value.length) || (this.inputTextValue && this.inputTextValue.length)), + 'p-inputwrapper-filled': ((this.value) || (this.inputTextValue && this.inputTextValue.length)), 'p-inputwrapper-focus': this.focused }]; },