`USelectMenu`: Allow deselection of items
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Description
When using multiple with USelectMenu selected items can be deselected again. But when not having multipe option this is not the case. The select goes from undefined to a value and then can never become undefined again (without an external button).
I would propose to add a new prop that allows values to be deselected, so the model becomes undefined again.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the USelectMenu component entry point and read how its single-value and multiple-value selection paths differ. Check the existing USelectMenu tests or usage examples, then consider the work complete when a selected single value can be cleared back to undefined while multiple selection continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxtjs, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100