ElemeFE / ElemeFE/element

[bug report] when El autocomplete has the clear attribute, if the focus does not leave, click x to clear it and input again. The suggestion cannot be triggered

Open
#18,971 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.0

### OS/Browsers version
window

### Vue version
3.0.0-alpha.8

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

### Steps to reproduce
复现步骤
1. 具体例子请参考官方案例 https://codepen.io/pen/

2. 在第二个el-autocomplete 增加 clearable 属性

3. 在第二个输入框输入‘H’,

4. 鼠标不要离开,直接点击 ‘X’按钮,输入框清空

5. 再次输入'H',

6. 输入建议无法触发

我在自己的项目中,发现ajax请求可以触发,但是数据没有回填到视图列表
### 可以稳定重新

### 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.