Is this a regression?
The previous version in which this bug was not present was
No response
Description
When setting the checkbox checked state through data binding from within a change event handler , the component will not reflect the checked state. (Setting the state directly on the checkbox component, does work as expected)
Reproduction
StackBlitz link: bug demo
Steps to reproduce:
- Create a checkbox
- Bind
checked to an isChecked property
- Listen for
change events
- In event handler set
isChecked to true
Expected Behavior
You should not be able to deselect the checkbox
Actual Behavior
The checkbox appears deselected
Environment
- Angular: 19.2.0
- CDK/Material: 19.2.0
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows