created components with forms for project
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {NzFormModule} from "ng-zorro-antd/form";
|
||||
import {FormControl, FormGroup, Validators} from "@angular/forms";
|
||||
import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||
import {NzFlexDirective} from "ng-zorro-antd/flex";
|
||||
|
||||
@Component({
|
||||
selector: 'app-create-book',
|
||||
imports: [NzFormModule],
|
||||
imports: [NzFormModule, NzFlexDirective, ReactiveFormsModule],
|
||||
templateUrl: './create-book.html',
|
||||
styleUrl: './create-book.css',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user