-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ajax created checkbox added to existing checkboxes #149
Comments
Hello David. I need to see a demo, to figure out what actually happens. Have you tried 2.x version?
|
ok, good news, I removed all the processing to callbacks in my JS instead of trying to use the builtin ones in the ajax library I'm using. works fine now. Not sure what was causing the above but I'm moving on now :) Thanks for the quick response -- and thanks for this awesome library. |
hopefully someone else finds this useful :) |
I have a set of checkboxes and an 'add another button' that creates the new record, and inserts the new checkbox (unstyled) into the DOM.
I've looked at #37 and #60 but still can't figure out how to do this right.
If I do something like this:
only the new checkbox is clickable -- the other checkboxes are set to true|false as they are clicked but no UI updates to show the user.
if I do this instead:
all the UI is right and the true|false is updated but all previous checked items are unchecked.
any way to retain the checked state of each checkbox while adding a new checkbox programmatically?
The text was updated successfully, but these errors were encountered: