Correctif après 1e livraison de l'image
Docker et l'ajout de mon 1e saut PAC.
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
<mat-checkbox [(ngModel)]="withCutaway" name="withCutaway">With a cutaway ?</mat-checkbox>
|
||||
|
||||
<mat-form-field>
|
||||
<input matInput [matDatepicker]="beginDateDp" [(ngModel)]="beginDate" name="beginDate" disabled>
|
||||
<input matInput [matDatepicker]="beginDateDp" [(ngModel)]="beginDate" name="beginDate" disabled (ngModelChange)="onChangeBeginDate($event)">
|
||||
<mat-datepicker-toggle matSuffix [for]="beginDateDp"></mat-datepicker-toggle>
|
||||
<mat-datepicker #beginDateDp disabled="false"></mat-datepicker>
|
||||
</mat-form-field>
|
||||
@@ -102,7 +102,7 @@
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field>
|
||||
<input matInput placeholder="Comments" [(ngModel)]="comments" name="comments" type="text"/>
|
||||
<textarea matInput placeholder="Comments" [(ngModel)]="comments" name="comments" type="text"></textarea>
|
||||
<button mat-button *ngIf="comments" matSuffix mat-icon-button aria-label="Clear"
|
||||
(click)="comments=undefined">
|
||||
<mat-icon>close</mat-icon>
|
||||
|
||||
@@ -11,6 +11,7 @@ import { JumpService } from "../../services/jump.service";
|
||||
import { JumpTypeService } from "../../services/jump-type.service";
|
||||
import { GearService } from "../../services/gear.service";
|
||||
import { isNumber } from "util";
|
||||
import { ThrowStmt } from "@angular/compiler";
|
||||
|
||||
@Component({
|
||||
selector: "app-new-jump",
|
||||
@@ -166,6 +167,11 @@ export class NewJumpComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
public onChangeBeginDate(event: any) {
|
||||
console.log("Date de début : " + event);
|
||||
this.endDate = event;
|
||||
}
|
||||
|
||||
public notLoadingToDisplay(): boolean {
|
||||
return !(this.pendingAddRequest || this.countDatasLoaded !== 4);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user