Skip to content

Checked class not set on checklist #381

@aoudijk

Description

@aoudijk

A checked attribute is set on the second item in the checklist. What goes wrong is:

  • Class 'checked' is not initially set
  • Class 'checked' only appears on the second label if the first items has been selected at least once
  • Class 'checked' is never set on the input, only on the label (not the core of this issue)

The problem does not seem to occur if the first item in the list is initially selected. Test case: http://f343rn9a.informaat.com/test.html

Oddly, with the exact same HTML code and the same .js package, the problem does not seem to occur at:

http://jsfiddle.net/#&togetherjs=a7h0ctMxb4

Where is the error? Anything we're overlooking?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions