SchwarzIT / onyx

🚀 A design system and Vue.js component library created by Schwarz IT
https://onyx.schwarz
Apache License 2.0
41 stars 4 forks source link

Fix premature form submission while checking options in OnyxSelect #1431

Closed BoppLi closed 3 days ago

BoppLi commented 4 days ago

Steps to reproduce

  1. open this playground example
  2. select a fruit via keyboard (pressing Enter)

=> now the Bug appears: The form is submitted, even though the user might want to select more than only one option with the keyboard. And the value is not even displayed yet in the OnyxSelectInput while the form is already sent.

Image