Loading web/src/app/components/create-team-form/create-team-form.component.html +2 −2 Original line number Diff line number Diff line <div class="container m-0"> <div [hidden]="submitted"> <div> <h1 class="fw-bold ms-2 mt-2 fs-2">New Team Form</h1> <form #createTeamForm="ngForm" (ngSubmit)="onSubmit()" class="ms-3"> <div class="form-group"> Loading @@ -8,7 +8,7 @@ id="name" name="name" required type="text"> <div [hidden]="name.valid || name.pristine" <div [hidden]="name.valid || name.pristine || submitted" class="alert alert-danger"> Name is required </div> Loading web/src/app/components/create-team-form/create-team-form.component.ts +1 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ export class CreateTeamFormComponent implements OnInit { onSubmit(): void { this.submitted = true; this.confirmSubmission(); this.model = {name: ""}; } resetForm(): void { Loading Loading
web/src/app/components/create-team-form/create-team-form.component.html +2 −2 Original line number Diff line number Diff line <div class="container m-0"> <div [hidden]="submitted"> <div> <h1 class="fw-bold ms-2 mt-2 fs-2">New Team Form</h1> <form #createTeamForm="ngForm" (ngSubmit)="onSubmit()" class="ms-3"> <div class="form-group"> Loading @@ -8,7 +8,7 @@ id="name" name="name" required type="text"> <div [hidden]="name.valid || name.pristine" <div [hidden]="name.valid || name.pristine || submitted" class="alert alert-danger"> Name is required </div> Loading
web/src/app/components/create-team-form/create-team-form.component.ts +1 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ export class CreateTeamFormComponent implements OnInit { onSubmit(): void { this.submitted = true; this.confirmSubmission(); this.model = {name: ""}; } resetForm(): void { Loading