Skip to content

Checkboxes and radiobuttons not clickable when they hold a [for] attribute #50

@Paulus90

Description

@Paulus90

After updating to castlecss-forms 1.0.12, checkboxes and radiobuttons are not clickable anymore when they hold a [for] attribute (on the label element). This is due to the presence of 'pointer-events: none' on the element. A possible fix could be to check if the label element has a class of '.input-control' and not apply the above style rule if this is the case (...:not:(.input-control)....).

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