Closed
Description
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
No response
Description
In angular 20, mat-button has been changed to matButton. I had 2 questions -
-
Why was it not mentioned in the changelog file? Is it due to this being new and in beta phase or it is stable? Please let me know.
-
And If stable are we going to receive a migration script to change it in the future for updates like these?
Angular material 19 button component code -
<section>
<div class="example-label">Basic</div>
<div class="example-button-row">
<button mat-button>Basic</button>
<button mat-button disabled>Disabled</button>
<a mat-button href="https://www.google.com/" target="_blank">Link</a>
</div>
</section>
Angular material 20 button component code -
<section>
<div class="example-label">Text</div>
<div class="example-button-row">
<button matButton>Basic</button>
<button matButton disabled>Disabled</button>
<a matButton href="https://www.google.com/" target="_blank">Link</a>
</div>
</section>
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
.
Actual Behavior
.
Environment
- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):