-
Notifications
You must be signed in to change notification settings - Fork 48
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
Checkbox Cascade option does not work . #46
Comments
Hi @veegandhi I'm not able to reproduce this issue. |
How do I add this addon to twiddle ? @ritesh83 |
@veegandhi You have to add it to the "addons" section in twiddle.json. Anyways I tried creating a twiddle but its throwing a security error https://ember-twiddle.com/82809a6f7b4570b4de8416260fbb59db Looks like you'll have a create a test project on github and share it with us. |
@veegandhi From my experience, this may require you to provide all the essential options in the hash that you're sending as
@ritesh83 is this a correct assumption? -- Or do you think it's on JSTree's level that it replaces the whole thing? It looks like the other default is gone when we provide only certain option(s). |
When I am sending the config hash from the controller , the cascade option of tree hierarchy selection does not work . However the three_state option works .
Below is code :
Controller :
checkboxOptions:{
cascade : 'up'
},
plugins:'checkbox,wholerow,types'
Template : {
{{ember-jstree
actionReceiver=jstreeActionReceiver
selectedNodes=jstreeSelectedNodes
data=data
plugins=plugins
checkboxOptions=checkboxOptions
typesOptions=typesOptions
eventDidSelectNode="selectAccount"
eventDidDeselectNode="deselectAccount"
contextMenuReportClicked="contextMenuReportClicked"
eventDidBecomeReady="handleTreeDidBecomeReady"
}}
}
The text was updated successfully, but these errors were encountered: