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

How to set default selected options? #18

Open
mirhat opened this issue Mar 15, 2017 · 2 comments
Open

How to set default selected options? #18

mirhat opened this issue Mar 15, 2017 · 2 comments

Comments

@mirhat
Copy link

mirhat commented Mar 15, 2017

I can set selected option to true, but output model is empty.

@kjvelarde
Copy link
Owner

Please elaborate. Thanks

@kjvelarde
Copy link
Owner

kjvelarde commented Apr 14, 2017

I you just meant having them select by default. You could initialize your object and set selected to true

        id: 'c'+j,
        name: 'Node sub_sub 1',
        children: [],
        selected: true

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

No branches or pull requests

2 participants