react-component / react-component/tree-select

labelInValue does not show given label when ‘treeCheckable’ is true

Open
#115 3 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

Hey,
I have an issue using ‘labelInValue’ on TreeSelect when ‘treeCheckable’ is set to true.
When set to true, every selected value is shown as the original label and not as the ‘onChanged’ given label

Please advise on this issue @zombieJ

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

No file, test, or reproduction is identified in the issue. Start by reproducing TreeSelect behavior with both labelInValue and treeCheckable enabled, then trace how selected labels are rendered after onChange; done means selected values display the labels supplied through onChange rather than the original tree labels.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.