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 feature request #6326

Open
rdyava opened this issue Feb 29, 2024 · 2 comments
Open

TreeSelect feature request #6326

rdyava opened this issue Feb 29, 2024 · 2 comments
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add

Comments

@rdyava
Copy link

rdyava commented Feb 29, 2024

Discussed in https://github.com/orgs/primefaces/discussions/1298

Originally posted by rdyava February 26, 2024
Hello all,

I am using the TreeSelect component and was wondering if there is a way to alter the behavior of the checkbox selection mode. Currently when there is a single child node of a parent node, with the checkbox selection mode enabled and selecting the child, it also checks the parent node as well. Is there a way to make it so that for this sort of use case, the parent node is not selected? For example, in the example in the documentation, selecting "Invoices.txt" also selects "Home", I would need "Home" to be a partially selected value in this case and not showing as a selection with "Invoices.txt".

image

The propogateSelectionUp and propogateSelectionDown props from the standard Tree component which modify the checkbox selection behavior are not present in the TreeSelect component. For my use case which I defined in the linked discussion, I would like these props to be made available in the TreeSelect component if possible.

@rdyava rdyava changed the title PrimeReact TreeTable feature request PrimeReact TreeSelect feature request Feb 29, 2024
@melloware melloware transferred this issue from primefaces/community Apr 8, 2024
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 8, 2024
@eguanOX
Copy link

eguanOX commented Aug 1, 2024

Has there been any update on this issue? I'm also running into this problem, and would like to be able to access the propogateSelectionDown and propogateSelectionUp props in TreeSelect. I also noticed that in the Angular version of TreeSelect (https://primeng.org/treeselect#api.treeselect.props.propagateSelectionDown), these props exist, so would be nice to have the same props here if possible

@melloware
Copy link
Member

Nope. Probably someone needs to financially sponsor this fix.

@melloware melloware added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 3, 2025
@melloware melloware changed the title PrimeReact TreeSelect feature request TreeSelect feature request Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

3 participants