Closed
Description
Bug, feature request, or proposal:
Bug?
What is the expected behavior?
Invalid formControl of formGroup should shown error and update related style when submit.
What is the current behavior?
Invalid formControl of formGroup does not show error and does not update related style when submit.
_form.status is invalid.
What are the steps to reproduce?
https://plnkr.co/edit/rQXSXREDhy9w7oet1ZhB?p=preview
- Leave fields blank and click submit
Current: Favorite food is highlighted as required, Favorite dessert is seen as untouched
Expected: Favorite food and Favorite dessert would be highlighted as required
What is the use-case or motivation for changing an existing behavior?
formGroup component could group html, css, and validation of related formControl together which could be reuse easily
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 4.0.3
Material: 2.0.0-beta.6
Is there anything else we should know?
Thanks