There are 2 ways to set formBuilder controls parameters.
exampleForm : FormGroup;
constructor(fb: FormBuilder){
this.exampleForm = fb.group({
name : new FormControl({value: 'default name'}, Validators.compose([Validators.required, Validators.maxLength(15)]))
});
}
2.After initialize:
this.exampleForm.controls['name'].setValue('default name');
Get formBuilder control value:
let name = this.exampleForm.controls['name'].value();