react-component / react-component/select
Entered tag deleted on second entry
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 482
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 2
Description
Steps to reproduce:
- Type in a tags, for example
apple - Hit enter -> new tag is created OK
- Type second tag, in this case the same thing:
apple - Hit enter -> both tags are removed from the select.
I would expect to have 1 apple tag at the end, but instead both tags are removed.
You can reproduce the problem on the demo site: https://select-react-component.vercel.app/demo/tags
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 by reproducing the duplicate-entry behavior on the demo site's tags example, then trace the React Select tag-handling path in the repository. Done means entering the same tag twice leaves one apple tag selected instead of removing both tags.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100