Skip to content

Commit

Permalink
Merge pull request #16 from navedqb/4749--fix-incorrect-reference-val…
Browse files Browse the repository at this point in the history
…ue-display

fix: fix incorrect reference value display in autocomplete
  • Loading branch information
navedqb authored Nov 6, 2023
2 parents 2186611 + 5a41c88 commit 08130a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/autocomplete/AutoComplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ export default {
return this.optionGroupLabel ? this.flatOptions(this.suggestions) : this.suggestions || [];
},
inputValue() {
if (this.modelValue) {
if (ObjectUtils.isNotEmpty(this.modelValue)) {
if (typeof this.modelValue === 'object') {
const label = this.getOptionLabel(this.modelValue);
Expand Down

0 comments on commit 08130a2

Please sign in to comment.