Merge pull request #16 from navedqb/4749--fix-incorrect-reference-value-display

fix: fix incorrect reference value display in autocomplete
pull/4762/head
navedqb 2023-11-07 00:08:12 +05:30 committed by GitHub
commit 08130a2391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);