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.

Comments

kadantsew created an issue. See original summary.

kadantsew’s picture

StatusFileSize
new1.22 KB
kadantsew’s picture

Status: Active » Needs review
kadantsew’s picture

Assigned: kadantsew » Unassigned
rymcveigh’s picture

StatusFileSize
new1.76 KB

kadantsew, 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?

rymcveigh’s picture

StatusFileSize
new1.92 KB

I've adjusted the patch for the current module structure.

  • rymcveigh committed 912f60e on 8.x-1.x
    Issue #3143536 by rymcveigh, kadantsew: Data from a field of type...
rymcveigh’s picture

Status: Needs review » Reviewed & tested by the community
diaodiallo’s picture

I 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.

greggles’s picture

@diaodiallo Can you try again with beta 1?

@kadantsew, have you tested out the released version?

kgatzby’s picture

rymcveigh’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)
greggles’s picture

Status: Postponed (maintainer needs more info) » Fixed

From 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.