react-component / react-component/select
Select组件tags模式小疑问
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 482
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 2
Description
是否可以新增一个属性,在onBlur时不添加tag或者不改变用户输入的值,现在用户在前后输入空格都会被自动清除,是否有办法规避这种行为
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 tracing the Select component's tags-mode handling around onBlur and the trimming of leading or trailing spaces. Define the new behavior so blur can avoid adding a tag or preserve the user's input, then verify both options against the existing tags-mode behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100