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

checkbox: clicking links in labels also toggles the value #10823

Open
@nikclayton

Description

@nikclayton

Actual Behavior:

  • What is the issue? *
    If an md-checkbox has a text or a label that contains a link, clicking the link (either with _target="blank" to open in a new tab, or Ctrl-click) also toggles the checkbox.
  • What is the expected behavior?
    Not toggle the checkbox. This is the behavior of the native <input type="checkbox">.

CodePen (or steps to reproduce the issue): *

AngularJS Versions: *

  • AngularJS Version: 1.6.4
  • AngularJS Material Version: 1.1.4

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * 59.0.3071.115 (Official Build) (64-bit)
  • OS: * Ubuntu 14.04
  • Stack Traces: N/A

Metadata

Metadata

Assignees

Labels

P3: importantImportant issues that really should be fixed when possible.for: internal contributorThe team will address this issue and community PRs are not requested.g3: reportedThe issue was reported by an internal or external product team.needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communitytype: bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions