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
Description
Clicking the prefix/suffix button does nothing when the input is disabled, but button can still be activated via keyboard. This is due to .mdc-text-field--disabled
setting pointer-events: none
.
Current workaround is to add a stronger CSS rule that sets pointer-events: auto
Reproduction
Steps to reproduce:
- Click the suffix button
- Nothing happens
Expected Behavior
Clicking the button should work even though the input is disabled
Actual Behavior
Clicking the button does nothing
Environment
- Angular: 15
- CDK/Material: 15
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Mac