Skip to content

Commit 251a457

Browse files
committed
set defaults
1 parent 3c0705c commit 251a457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/fizz-buzz/fizz-buzz.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export class FizzBuzzComponent {
4040
protected onAdd() {
4141
this.formGroup.controls.multiples.push(
4242
new FormGroup({
43-
multiple: new FormControl<number>(0, {nonNullable: true, validators: [this.getDuplicatesValidator()]}),
44-
wordToPrint: new FormControl<string>('', {nonNullable: true}),
43+
multiple: new FormControl<number>(6, {nonNullable: true, validators: [this.getDuplicatesValidator()]}),
44+
wordToPrint: new FormControl<string>('Buzz', {nonNullable: true}),
4545
})
4646
);
4747
}

0 commit comments

Comments
 (0)