react-component / react-component/tree-select

If Parent node disabled all child will be disabled

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
312
Forks
204
Avg merge
37m
Merged PRs (30d)
1

Description

If we want to set disable node functionality individual node then we can't achieve it because currently when my parent is disabled all child disabled automatically like

image

How to avoid disabled child if parent is disabled ?

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 reproducing the reported behavior with a disabled parent and an individually enabled child in the TreeSelect component. Trace how disabled state is propagated through the tree and define the expected result: disabling a parent should not automatically prevent a child from being enabled independently.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.