Skip to content

Disabled radio-button still receives click events #17535

@bagage

Description

@bagage

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/angular/xxjmayybegr

Steps to reproduce:

  1. Click Disabled button: nothing happens
  2. Click Summer disabled radio button: an alert is emitted.

Expected Behavior

What behavior were you expecting to see?

Since the radio button is disabled, the (click) output should not be emitted.

Actual Behavior

What behavior did you actually see?

The alert is emitted.

Environment

  • Angular: 8.2.9
  • CDK/Material: 8.2.2
  • Browser(s): Chromium Version 77.0.3865.90 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)
  • Operating System (e.g. Windows, macOS, Ubuntu): Debian

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions