Reproduction link
https://stackblitz.com/edit/2wmeh83u-egxxp2ia?file=src%2Fapp%2Fapp.ts
Steps to reproduce
- Initialize the component with isDisabled set to true.
- Observe the input field inside signalForm on initial render.
- Notice that the input field is not disabled, despite isDisabled() === true.
- Trigger the updateState function once.
- Trigger the updateState function a second time.
- Observe that after the second call, the input field becomes disabled as expected.
Angular version 21.0.8.
What is expected?
The input field should be disabled on component initialization.
What is actually happening?
The input field is not disabled on component initialization.
| Environment |
Info |
| ng-zorro-antd |
21.0.0 |
| Browser |
Google Chrome |