Ajouter un loader sur l'ajout des sauts
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<form class="formNewJumps" (ngSubmit)="onFormSubmit()">
|
||||
<form class="formNewJumps" (ngSubmit)="onFormSubmit()" *ngIf="allDatasLoaded() else loading">
|
||||
<mat-form-field>
|
||||
<mat-label>Choose the jump type</mat-label>
|
||||
<input type="text" matInput [matAutocomplete]="autoJumpType" [(ngModel)]="selectedJumpType" name="selectedJumpType">
|
||||
@@ -97,3 +97,7 @@
|
||||
<br />
|
||||
<button class="btn btn-primary" *ngIf="isValidatedForm()">Submit</button>
|
||||
</form>
|
||||
|
||||
<ng-template #loading>
|
||||
<mat-progress-spinner [mode]="'indeterminate'"></mat-progress-spinner>
|
||||
</ng-template>
|
||||
|
||||
Reference in New Issue
Block a user