New prop `clearable` to USelect
Open
Nobody has claimed this yet.
upstream/reka-ui
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Package
v4.2.1
Description
Using the placeholder prop makes it impossible to deselect the selection. This is a fairly common problem. It would be great to add this option so I don't have to write a wrapper myself, adding cleanup via the trailing slot.
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
Start by locating the USelect component and reading how its placeholder and selection behavior are handled. Verify the requested clearable option by checking that a selected value can be deselected without a wrapper or trailing-slot cleanup; the issue does not name a specific file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, tailwindcss, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100