Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(@angular/forms): add ng-submitted class #31070
Add ng-submitted class to form controls when parent form has been submitted
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
What is the current behavior?
No class is added to form controls and container when parent form is submitted
Issue Number: 30486
What is the new behavior?
When parent form is submitted (if there is a parent form), form controls get
Does this PR introduce a breaking change?
Constructor arguments of
Would it be better to add
This would avoid the imports of these to directives in
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
Once you've signed (or fixed any issues), please reply here (e.g.
What to do if you already signed the CLA