Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeSelect.value should be an array in multiselect mode #2276

Closed
kalinkrustev opened this issue Sep 3, 2021 · 0 comments
Closed

TreeSelect.value should be an array in multiselect mode #2276

kalinkrustev opened this issue Sep 3, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@kalinkrustev
Copy link
Contributor

I'm submitting a ...

[x ] bug report
[ ] feature request

Current behavior
TreeSelect property value is object, while TreeNode property key is documented as 'any'.
In multiselect mode, this limits the TreeNode key to be a string, as the key is used as property name in the value.

Expected behavior
TreeSelect value should be an array of the TreeNode key values, as it is in MultiSelect.

  • PrimeReact version:
    6.5.1
@mertsincan mertsincan self-assigned this Nov 6, 2021
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Nov 6, 2021
@mertsincan mertsincan added this to the 7.0.0.Final milestone Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants