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的值還沒來得及變化
2条答案
按热度按时间3ks5zfa01#
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.
ibrsph3r2#
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