-
Notifications
You must be signed in to change notification settings - Fork 42
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
checked checkbox dont check with qubit #21
Comments
AFAICT that should work. If you can post a JSBin showing the problem I'm sure I can work out what's going wrong. |
hi, how can I get all leaf item which is checked when the check state is change |
var list = $('#my-list');
list.on('change', 'input', function() {
var checked = list.find('input:checked');
}); |
here is demo of BUG (some parent checkbox is checked): |
That's not what I see when I perform that test on Chrome. |
safari: http://joxi.ru/E2pwVw7Fa1OxPm.png |
I see what's happening. A parent is only checked if all of its children are checked. For example, |
Sorry, you're right about the child branch. |
Hy,
I've the following tree in my html5 file:
You can see the checkboxes with value: 6ae0e08870c828c521d570a829f47244 and 592641f715f4122453e3c7f8ee39e9ea are checked. But after your plugin is ready, the checkbox isnt checked in the browser.
bonsai will initialized with this:
Any ideas, why the checkboxes are unchecked after your plugin is running?
kind regards
The text was updated successfully, but these errors were encountered: