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 hidden items in the input-model #103

Open
mgsstms opened this issue May 27, 2016 · 2 comments
Open

Allow hidden items in the input-model #103

mgsstms opened this issue May 27, 2016 · 2 comments

Comments

@mgsstms
Copy link

mgsstms commented May 27, 2016

Allow the option to have the hidden items in the in the input array.

We will need to define the extra parameter 'hiddenProperty' (true/false). It will help us to avoid to pass the filtered array to the multiselect (and keep 2 copies of input array) or use filtering (which is running each digest cycle and affect the performance).

@alexandernst
Copy link
Owner

Could you explain a little bit further? How exactly do you want this feature to work?

Let's say you have the following structure:

A
    B
    C <--- hidden
    D
E
    F
    G <--- hidden
H
I <-- hidden
J

What should be shown in the select? What should the output model contain if I select A?

@mgsstms
Copy link
Author

mgsstms commented Aug 8, 2016

Select should show this:

A
    B
    D
E
    F
H
J

If you select A, the output model will be the same as now (only no without 'C')

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

No branches or pull requests

2 participants