update form from create book

This commit is contained in:
2025-11-10 16:21:26 +01:00
parent 76b6f74086
commit 549d841a02
4 changed files with 27 additions and 17 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, ReactiveFormsModule, NzFlexDirective],
templateUrl: './create-book.html',
styleUrl: './create-book.css',
})