ElemeFE / ElemeFE/element

[bug report] Select selector remote search input value after filtering, when the option is not selected, the input filter value will be cleared after losing the focus, but the optional drop-down option is still the optional option after keyword filtering?

Open
#20,923 2 comments 0 reactions 0 assignees View on GitHub
need: repro stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.1

### OS/Browsers version
macOS10.15 / Chrome89.0.4389.114

### Vue version
2.6.12

### Reproduction Link
https://codepen.io/pen/

### Steps to reproduce
1. 输入关键字“Ariz”
2. 可选项只有一条
3. 失去焦点 (关键字值被清空
4. 获得焦点 (可选选项仍然只有一条,但是没有关键字了

### What is Expected?
失去焦点后关键字值被清空后,再次获取焦点时可选选项应该重新获取当前的关键字值,而不是上一次失去焦点前的关键字。

### What is actually happening?
失去焦点后关键字值被清空后,再次获取焦点时可选选项应是上一次失去焦点前的关键字过滤后的可选选项。

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.