created components with forms for project

This commit is contained in:
2025-11-10 19:12:52 +01:00
parent 9c0da1fc85
commit c35f79e95e
24 changed files with 164 additions and 7 deletions

View File

@@ -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',
})