Skip to content

Commit ae81533

Browse files
author
Kuldeep Saxena
authored
Update AbstractControl.md
1 parent db3a1f7 commit ae81533

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/api/AbstractControl.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,20 @@ clearAsyncValidators(): void
156156
Empties out the async validator list.
157157
##
158158
```ts
159+
markAsSubmitted: (opts?: {emitEvent?: boolean}) => void;
160+
```
161+
Marks the control as `submitted`.
162+
163+
If the control has any children, it will also mark all children as `submitted`.
164+
##
165+
```ts
166+
markAsUnsubmitted: (opts?: {emitEvent?: boolean}) => void;
167+
```
168+
Marks the control as `unsubmitted`.
169+
170+
If the control has any children, it will also mark all children as `unsubmitted`.
171+
##
172+
```ts
159173
markAsTouched(opts: {
160174
onlySelf?: boolean;
161175
} = {}): void

0 commit comments

Comments
 (0)