question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support label to be a React Node in TreeSelect

See original GitHub issue

What problem does this feature solve?

want to add some extra info before tree node, for example user avatar, but now it will throw a warning: Invalid prop 'value' supplied to 'Select'

What does the proposed API look like?

same as now but support label to be a React Node

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yesmeckcommented, Dec 1, 2017

奥,对的,在 1.10.13 上也修正了。

0reactions
daskyrkcommented, Dec 1, 2017

antd里 “rc-tree-select”: “~1.10.2”, 这个依赖只会更新到1.10.x,不会更新到v1.12.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

TreeSelect - Ant Design
Property Description Default allowClear Whether allow clear false bordered Whether has border style true defaultValue To set the initial selected treeNode(s) ‑
Read more >
React TreeSelect Component - PrimeFaces
Label of an option is used as the display text of an item by default, for custom content support define a valueTemplate that...
Read more >
rc-tree-select - npm
tree-select ui component for react. ... rc-tree-select. React TreeSelect Component ... Node, halfChecked}/Array<{value,label,halfChecked}>.
Read more >
ReactJS UI Ant Design TreeSelect Component - GeeksforGeeks
TreeSelect Component is used for the Tree selection control. ... labelInValue: It is used to indicate whether to embed label in value.
Read more >
Antd tree Multi-TreeSelect make difference between labels ...
You could define a valueLabelMap and use it in combination with TreeSelect 's onChange handler to set the custom label.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found