react-component / react-component/select
Disabling autoClearSearchValue for single select
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 482
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 2
Description
Hi, I was digging into Select component and found this:
I really need to disable clearing inputValue on opening popup, but autoClearSearchValue={false} not working with single select mode. Am I right if !isMultiple would be removed, than it would allow us to persist inputValue?
Contributor guide
No contributing guide indexed for this repository
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 in src/generate.tsx at the linked lines around 637-640 and trace how autoClearSearchValue is applied when opening the popup. Done means autoClearSearchValue={false} preserves inputValue for single-select mode as well as multiple-select mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100