ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.64k forks source link

[Bug Report] a bug of el-select #20663

Open loseguest opened 3 years ago

loseguest commented 3 years ago

Element UI version

2.14.1

OS/Browsers version

win7 chrome

Vue version

2.6.12

Reproduction Link

https://codepen.io/losedguest/pen/vYXroEw

Steps to reproduce

filterable multiple 時設置defaultFirstOption沒有用 比如輸入 "北" ,回車

What is Expected?

輸入 "北",回車后,第一項應該被選中,然後關閉下拉

What is actually happening?

回車沒有反應 原因是compositionend執行時,this.query的值還沒來得及變化

element-bot commented 3 years ago

Translation of this issue:

Element UI version

2.14.1

OS/Browsers version

win7 chrome

Vue version

2.6.12

Reproduction Link

https://codepen.io/losedguest/pen/vYXroEw

Steps to reproduce

It is useless to set the default first option in filterable multiple For example, type "North" and enter

What is Expected?

Enter "North", after entering, the first item should be selected, and then close the drop-down

What is actually happening?

No response to return

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.