Skip to content

bug(matTabLink): disabled flag does not work #27071

Closed
@fbuscaroli2

Description

@fbuscaroli2

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

14.x

Description

the mat-tab-link disabled flag does not prevent click

Reproduction

Steps to reproduce:

  1. Add a (click) action to a mat-tab-link

Expected Behavior

The click action should not occur.

Actual Behavior

The click action is executed any way.

Environment

  • Angular: 16
  • CDK/Material: 16
  • Browser(s): Edge
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/tabs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions