react-component / react-component/tree-select
Can I change the TreeSelect props on the fly?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 312
- Forks
- 204
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
Can I change the TreeSelect props on the fly? For example, I wanted to have 2 modes for this component, so user can freely switch between TreeSelect.SHOW_ALL and TreeSelect.SHOW_PARENT. From my understanding, I need to change the props of showCheckedStrategy & treeCheckStrictly to make this happen. Any Idea on how to dynamically change this two props?
MODE 1 : Select only parent
showCheckedStrategy = TreeSelect.SHOW_PARENT
treeCheckStrictly = true

MODE 2: Select parent and all its children
showCheckedStrategy = TreeSelect.SHOW_ALL
treeCheckStrictly = false

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
The issue does not name a source file, test, or entry point; begin by locating the TreeSelect component and its handling of showCheckedStrategy and treeCheckStrictly. Define whether switching between the two modes is supported and what selection state should be preserved, then document or test the agreed behavior.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100