Fix sur le formulaire

This commit is contained in:
Sébastien André
2020-05-05 14:01:37 +02:00
parent db6923f5a3
commit 673876edd6
4 changed files with 7 additions and 10 deletions

View File

@@ -14,7 +14,7 @@
} }
.content { .content {
height: 90vh; min-height: 90vh;
display: flex; display: flex;
justify-content: left; justify-content: left;
flex-direction: column; flex-direction: column;

View File

@@ -46,13 +46,13 @@
</button> </button>
</mat-form-field> </mat-form-field>
<div> <!-- <div>
<label>Float label: </label> <label>Float label: </label>
<mat-radio-group [(ngModel)]="toto"> <mat-radio-group [(ngModel)]="toto" name="toto">
<mat-radio-button value="auto">Auto</mat-radio-button> <mat-radio-button value="dz">DZ</mat-radio-button>
<mat-radio-button value="always">Always</mat-radio-button> <mat-radio-button value="tunel">Tunel</mat-radio-button>
</mat-radio-group> </mat-radio-group>
</div> </div> -->
<mat-form-field> <mat-form-field>
<mat-label>Choose the used gear</mat-label> <mat-label>Choose the used gear</mat-label>
@@ -106,7 +106,7 @@
</mat-form-field> </mat-form-field>
<br /> <br />
<button mat-button *ngIf="isValidatedForm()">Submit</button> <button mat-raised-button color="accent" *ngIf="isValidatedForm()">Submit</button>
</form> </form>
<ng-template #loading> <ng-template #loading>

View File

@@ -37,9 +37,6 @@ export class NewJumpComponent implements OnInit {
listOfGear: Array<GearResp>; listOfGear: Array<GearResp>;
private countDatasLoaded: number; private countDatasLoaded: number;
// floatLabelControl = new FormControl("auto");
public toto: string;
constructor( constructor(
private serviceComm: ServiceComm, private serviceComm: ServiceComm,
private serviceJump: JumpService, private serviceJump: JumpService,