We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 294324c commit 9098c12Copy full SHA for 9098c12
src/app/fizz-buzz/fizz-buzz.component.ts
@@ -44,6 +44,7 @@ export class FizzBuzzComponent {
44
wordToPrint: new FormControl<string>('Buzz', {nonNullable: true}),
45
})
46
);
47
+ this.formGroup.markAllAsTouched();
48
}
49
50
protected onRemove(group: FormGroup<any>) {
@@ -52,7 +53,7 @@ export class FizzBuzzComponent {
52
53
54
protected onSubmit() {
55
this.formGroup.markAllAsTouched();
-
56
+
57
const multiples = this.formGroup.controls.multiples.controls.map((group) => {
58
return {
59
multiple: group.controls.multiple.value,
0 commit comments