Open
Description
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-material-formgroup-nested
Steps to reproduce:
- Connect a form group to a child component (with custom input component) with validations configured
- Submit the form without value and the form is invalid
Expected Behavior
All the input fields that are invalid to get highlighted.
Actual Behavior
Components that are on the root group are highlighted
Environment
- Angular: 10+
- CDK/Material:10.0.2 - 10.1.3
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows