react-component / react-component/select

Select组件tags模式小疑问

Open
#1,075 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.