view-design / ViewUIPlus

An enterprise-level UI component library and front-end solution based on Vue.js 3
https://www.iviewui.com
Other
368 stars 123 forks source link

[Bug Report]Autocomplete `on-select` return wrong value by keyEnter (but correct by click) #329

Open David-Tsui opened 8 months ago

David-Tsui commented 8 months ago

Environment

Mac OS / Google Chrome 118.0.5993.11

Reproduction link

https://www.iviewui.com/view-ui-plus/component/form/auto-complete

Steps to reproduce

Just click the autocomplete example then use click/keyEnter to select value.

The return value of event on-select is wrong by keyEnter, but correct by click.

What is expected?

The return value of event on-select by both ways should be equal

What is actually happening?

They are different.