view-design / ViewUIPlus

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

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

Open David-Tsui opened 1 year ago

David-Tsui commented 1 year 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.