20230803Update

This commit is contained in:
2023-08-03 14:44:53 +02:00
parent 02261e7e13
commit 821f5a5cef
2 changed files with 1 additions and 6 deletions

View File

@@ -31,6 +31,7 @@
[formControlName]="i"
/>
</fieldset>
<bm-form-errors
controlName="authors"
[messages]="{ atleastonevalue: 'At least one author required' }"

View File

@@ -48,12 +48,6 @@ export class BookFormComponent implements OnChanges {
this.submitBook.emit(newBook);
}
// book: Book = {
// isbn: '',
// title: '',
// authors: [''],
// };
get authors() {
return this.form.controls.authors;
}