Closed adrianriepl closed 4 years ago
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
[ ] Bugfix [x] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Build related changes [ ] CI related changes [x] Documentation content changes [ ] Other... Please describe:
Issue Number: https://github.com/ngneat/forms-manager/issues/12
Adds existing mark* methods (see below) to change state of a form. Also introduces/adds the required untouched property to the type Control.
mark*
untouched
Control
Added mark* methods:
markAllAsTouched()
markAsTouched()
markAllAsDirty()
markAsDirty()
markAsPending()
markAsPristine()
markAsUntouched()
[ ] Yes [x] No
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: https://github.com/ngneat/forms-manager/issues/12
What is the new behavior?
Adds existing
mark*
methods (see below) to change state of a form. Also introduces/adds the requireduntouched
property to the typeControl
.Added mark* methods:
markAllAsTouched()
markAsTouched()
markAllAsDirty()
markAsDirty()
markAsPending()
markAsPristine()
markAsUntouched()
Does this PR introduce a breaking change?