Manage Authors
PUBLISHER
Publisher Name
@if (publisherForm.value.name) { } @if ( publisherForm.controls["name"].hasError("required") && publisherForm.controls["name"].touched ) { Publisher name is required } @if ( publisherForm.controls["name"].errors?.["minlength"] && publisherForm.controls["name"].touched ) { Publisher name should contain at least 2 characters. } @if ( publisherForm.controls["name"].errors?.["pattern"] && publisherForm.controls["name"].touched ) { Publisher name must contain only alphanumeric letters. } @if (publisherForm.get("name")?.hasError("sameAsPublisher")) { Please type in a new publisher name to save changes. }
AUTHORS @for (author of authorsList; track author) { {{ author.name }} } @empty { No authors listed. } Please add additional names of one or more author of this model.
Name @if (authorForm.value.name) { } @if (authorForm.controls["contact"].hasError("required")) { Name is required }
Contact Info
@if (authorForm.value.contact) { } You can mention Email Address,URL and Phone Number @if ( authorForm.controls["contact"].hasError("required") && authorForm.controls["contact"].touched ) { Contact info is required }