Skip to content

Commit

Permalink
Fixed primefaces#1010 - autocomplete input no response
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu authored and fairking committed Mar 4, 2021
1 parent b88c9bc commit 6cce284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/autocomplete/AutoComplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ export default {
}];
},
inputValue() {
if (this.value && typeof this.value === 'object') {
if (this.field) {
if (this.value) {
if (this.field && typeof this.value === 'object') {
const resolvedFieldData = ObjectUtils.resolveFieldData(this.value, this.field);
return resolvedFieldData != null ? resolvedFieldData : this.value;
}
Expand Down

0 comments on commit 6cce284

Please sign in to comment.