fix incorrect reference value display in autocomplete

pull/4762/head^2
navedqb 2023-11-07 00:06:14 +05:30 committed by GitHub
parent 21866115bf
commit 5a41c88e55
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);