ElemeFE / ElemeFE/element

[Feature Request] Autocomplete suggestions fallback

Open
#19,311 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component
Yes

### Component Name
el-autocomplete

### Description
Hi!

The suggestions require an array of objects and use the property `vale` as their content. Sometimes, we have just simple arrays.

Can we change:

```

{{ item[valueKey] }}

```

By?

```

{{ item[valueKey] === undefined ? item : item[valueKey] }}

```

It will make even easier to debug.

Thank you all!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.