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

Allow to select children even if parent is disabled #147

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bosquig
Copy link
Contributor

@bosquig bosquig commented Aug 16, 2018

Hi,

I have a use case where I don't handle my root elements like the other nodes, and I don't want the user to be able to select the root elements and put it in the value (its not even the same entity in my backend).

So I need to disable the root elements, but the problem is that now I couldn't select the other nodes (except if flat = true but that doesn't fit my need).

I figured a way to do what I wanted with this pull request, and I guess it can be somewhat useful to some as it's not limited to root elements. I don't know though if it breaks something elsewhere but I didn't see anything broken in my tests and it would break only if the new node prop were to be set to true anyway.

Hope this makes sense.

@riophae riophae force-pushed the master branch 2 times, most recently from 86e8d8f to 4a62c56 Compare August 11, 2019 22:33
@hngl
Copy link

hngl commented Nov 30, 2022

I am looking for this exact feature: disabled parent while keeping child selectable.

@riophae Would you consider merging this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants