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
v14.2.7
Description
When using a click event or a tag around a matSuffix or matPrefix it doesnt trigger.
Reproduction
Steps to reproduce:
<mat-form-field> <mat-label>Test</mat-label> <input matInput value=""> <mat-icon matSuffix color="primary" click="test()">launch</mat-icon> </mat-form-field>
Expected Behavior
When using an a tag: open new tab or window
When using click event: execution of function
Actual Behavior
No effect when clicking
Environment
- Angular: 15.0.3
- CDK/Material: 15.0.2
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS