Open web-dave opened 6 months ago
book-new
ReactiveFormsModule
Validators
FormBuilder
FormGroup
BookNewComponent
NonNullableFormBuilder
form
NEXT
book-new
componentReactiveFormsModule
into BookNewComponentValidators
,FormBuilder
andFormGroup
intoBookNewComponent
NonNullableFormBuilder
in a attribute via DIindexd Forme Type
```ts export type IFormform
with typedFormGroup
FormBuilder
book-new.component.ts
```ts import { Validators, FormBuilder, FormGroup } from '@angular/forms'; ... form: FormGroupbooks.service.ts
```ts createBook(book): Observable