The problem lies in this code block:

// Create a unique id field for checkboxes 
if ($this.attr("type") == 'checkbox' || $this.attr("type") == 'radio') {
  $this.attr("id", $this.attr("id") + '-' + uniqNum);
}

We should also change the "for" attribute of the label in order for the labels to keep working. I'm going to postpone this until #359216: huge memory requirement for view with editable fields. gets in.

Comments

andreiashu’s picture

Status: Postponed » Needs work

Commited a fix for 6.x-2.x branch here.

andreiashu’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev

For 6.x-3.x branch seems to be a bit more complicated...

andreiashu’s picture

Status: Needs work » Fixed

Fixed in 6-3 branch too.

Status: Fixed » Closed (fixed)

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

lucascaro’s picture

Hi there, just wanted to let you know that the fix didn't seem to work in 6.x-2.x-dev. Is it commited?
thank you!