Closed
Description
Reproduction
Use StackBlitz to reproduce your issue:
https://stackblitz.com/edit/components-issue-qr6rcq
Steps to reproduce:
- Click Recreate Form button
- Notice that the input is disabled but the mat-select is not
Also just for comparison see that calling formControl.disable() does work as expected:
3. Reload the page
4. Click 'Disable Function' button
5. Notice both input and select are disabled as expected
Expected Behavior
What behavior were you expecting to see?
Expected matSelect and matInput to both be disabled when creating a new FormGroup where the disabled value was set to true for both of them.
Actual Behavior
What behavior did you actually see?
Only the matInput was disabled
Environment
- Angular: 8.0.0
- CDK/Material: 8.0.0
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows