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

[Feature Request] Allow parent selection in Treeview filter out childrens from output #6759

Open
stockmind opened this issue Mar 19, 2019 · 0 comments
Labels
C: VTreeview VTreeview T: feature A new feature

Comments

@stockmind
Copy link

Problem to solve

Currently isn't possible to get only the key or objects of most inclusive parents selected (and single nodes), this is handy to keep in a DB only the references to the most inclusive nodes.

Proposed solution

Add an option to the treeview component to let return only the upper parents and single nodes selected in the v-model. Graphically it should work as it does now, but the data returned back should exclude children if a parent is selected as in the Fiddle proposed: https://jsfiddle.net/g50odsmy/

In this fiddle i remove all the childrens before output.
In the V-TreeView code it should be possible to let the system flag children of parents selected but return only parents and single nodes selected if a flag is specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VTreeview VTreeview T: feature A new feature
Projects
None yet
Development

No branches or pull requests

4 participants