Tencent / Tencent/tdesign-react
[TagInput] 希望支持编辑功能;单tag支持独立status
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
这个功能解决了什么问题
希望添加后的文本能支持编辑功能;
单tag支持独立主题,现在所有tag的主题都是统一的;
折叠的内容框能默认提供 tag 样式(同上,支持单tag控制属性),且折叠框内支持新增和编辑(现在只能查看和删除)
输入的分割符能自定义,现在只有换行
能在任意位置新增输入,现在只能在末尾输入新增 tag
你建议的方案是什么
添加后的文本,点击后能变成Input框可编辑;
新增单tag控制属性;
折叠的内容框能默认提供 tag 样式,且折叠框内支持新增和编辑
输入的分割符能自定义,如空格,逗号等
能在任意位置新增输入
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
The issue names the TagInput component but no files or tests. Start by locating its implementation and reviewing the current tag editing, collapsed-content, delimiter, and insertion behavior. Done means the requested editing, per-tag properties, collapsed-content additions, configurable separators, and insertion at arbitrary positions are all supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100