Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Default value for "checked" is undefined, this causes a bug #170

@ellenaua

Description

@ellenaua

Description

Default value for "checked" attribute is undefined, but documentation says it's "false".
This is important, because when checked=undefined, and invalid=true, this function
https://github.com/PolymerElements/paper-checkbox/blob/master/paper-checkbox.html#L230
is not called and .invalid class is not set on the checkbox.

Expected outcome

Default value for checked attribute should be false
When I set invalid to true, checkbox should get .invalid class.

Actual outcome

Default value for checked attribute is undefined
When I set invalid to true, checkbox does not get .invalid class.

Metadata

Metadata

Assignees

No one assigned

    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