I faced the issues with fields of types checkbox and checkboxes.
1. Cannot uncheck a checkbox - a checkbox still checked in a draft.
2. Data from the checkboxes field is not stored. The name of a single checkbox from a set is 'field_name[key]'. I found a solution to collect values from checkboxes in the object named field_name - this works for me.
Please look at my patch. Maybe you can make it in a more elegant way.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | checkbox-fix-3143536-6.patch | 1.92 KB | rymcveigh |
| #5 | checkbox-fix-3143536-5.patch | 1.76 KB | rymcveigh |
| #2 | checkbox-fix-3143536-1.patch | 1.22 KB | kadantsew |
Comments
Comment #2
kadantsew commentedComment #3
kadantsew commentedComment #4
kadantsew commentedComment #5
rymcveighkadantsew, your patch wasn't resolving the issue for me on a vanilla site. I made some alterations to your patch that is a little more IE friendly and pretty simplified. Would you check it out when you have a moment?
Comment #6
rymcveighI've adjusted the patch for the current module structure.
Comment #8
rymcveighComment #9
diaodiallo commentedI still can't have field of type checkboxes updated just like other fields(select, text ..) which are working well, I tried 1.0-alpha15 and 1.x-dev. Any idea on this or should I give more infos?
Thanks in advance.
Comment #10
greggles@diaodiallo Can you try again with beta 1?
@kadantsew, have you tested out the released version?
Comment #11
kgatzby commentedComment #12
rymcveighComment #13
gregglesFrom my perspective, it seems like this issue is fixed. If it's still causing problems I suggest folks either reopen with more details or file a new issue.