-
-
Notifications
You must be signed in to change notification settings - Fork 436
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
Developement/Production OS: macOS 15.4.1 (24E263)
Node version: latest
Reka UI version: latest
Vue version: latestLink to minimal reproduction
https://github.com/Ericlm/reka-select-multiple-required
Steps to reproduce
- Creating a Select with
multipleandrequiredon theSelectRoot, within aform - Add 2-3
SelectItem, and asubmitbutton - When triggering the
submit:
- If no item selected : ask to select one 👍
- One item selected : submit 👍
- If more than one item : ask to select one 🐛
Describe the bug
multiple with required props on a SelectRoot make submitting more than one element impossible.
Expected behavior
When the multiple and required props are set on a SelectRoot, the value should only be required if there is no item in the array, but should submit when there is at least one.
Context & Screenshots (if applicable)
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working