Tencent / Tencent/tdesign-react
[Select] 支持 collapse-tags API
Open
Nobody has claimed this yet.
💪🏻 enhancement
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
这个功能解决了什么问题
目前 minCollapsedNum API 功能虽然可以满足超出折叠的需求,但是需要手动配置,不够灵活,期望可以通过一个API自动配置满足需求
你建议的方案是什么
新增支持 collapse-tags API,用于自动折叠过多的选项
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
Start by locating the Select component and reading the existing minCollapsedNum API and its tests. Implement the requested collapse-tags API so excess options are folded automatically, then add or update tests showing the automatic collapse 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