Skip to content

Commit

Permalink
Merge pull request #4762 from qburst/4749--fix-incorrect-reference-va…
Browse files Browse the repository at this point in the history
…lue-display

fix: #4749 || fix incorrect reference value display
  • Loading branch information
tugcekucukoglu authored Nov 15, 2023
2 parents 8460851 + 08130a2 commit 1ae9ef3
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 1ae9ef3

Please sign in to comment.