Skip to content

bug(tabs): Change props name mat-tab #31253

Open
@userhv

Description

@userhv

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

19.2.17

Description

Properties mat-tabs not migrated using ng update.

--mat-tab-header-* properties were not migrated removing "header".
--mdc-tab-indicator only changed --mdc-tab-indicator-* to --mat-tab-* but *-indicator* was not removed

Reproduction

Image

Expected Behavior

Image

Actual Behavior

Image

Environment

Angular CLI: 20.0.0
Node: 22.13.1
Package Manager: npm 10.9.2
OS: linux x64

Angular: 20.0.0
... animations, build, cli, common, compiler, compiler-cli, core
... forms, localize, platform-browser, platform-browser-dynamic
... router

Package Version

@angular-devkit/architect 0.2000.0
@angular-devkit/core 20.0.0
@angular-devkit/schematics 20.0.0
@angular/cdk 20.0.1
@angular/material 20.0.1
@angular/material-moment-adapter 20.0.1
@schematics/angular 20.0.0
rxjs 7.8.2
typescript 5.8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2The issue is important to a large percentage of users, with a workaroundarea: material/tabs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions