Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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