react-component / react-component/tree-select
Official Demo window alerts for 'please select more than two item or less than one item.'
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 312
- Forks
- 204
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
1. What's the issue?
https://tree-select.react-component.vercel.app/?path=/story/rc-tree-select--basic
On this official demo page, if you go to 'check select' section and check 2 values, it will alert for the message given in title.
2. How to reproduce?

3. What's the expected behavior?
Not showing this alert and allowing for selecting arbitrary number of values, or give some explanation of why this is happening.
读了下代码似乎是用来展示onDropdownVisibleChange,是否需要标注一下用途以防误以为是bug呢?
如有需要我可以提交一个pr对此功能再demo页面上做些介绍。
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 with examples/basic.tsx around lines 127-135 and reproduce the alert in the official demo's check-select section. Clarify the purpose of onDropdownVisibleChange in the demo, or adjust the example so its behavior is not mistaken for a bug; verify the resulting demo interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- documentation, frontend
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100