34 lines
1.5 KiB
HTML
34 lines
1.5 KiB
HTML
|
<form class="form-criteria">
|
||
|
<mat-card class="mat-card">
|
||
|
<div class="row">
|
||
|
<div class="col-sm-6 col-md-2">
|
||
|
<mat-form-field>
|
||
|
<input matInput
|
||
|
(focus)="periodStartPicker.open()"
|
||
|
(click)="periodStartPicker.open()"
|
||
|
placeholder=" {{'CRITERIA.FORMS.PERIOD-FROM'| translate}}"
|
||
|
[matDatepicker]="periodStartPicker"
|
||
|
name="projectCriteriaPeriodStart"
|
||
|
[ngModel]="this.criteria.PeriodStart" (ngModelChange)="controlModified()">
|
||
|
<mat-error *ngIf="getFormControl('periodStart').errors?.backendError">{{baseErrorModel['Criteria.PeriodStart']}}</mat-error>
|
||
|
<mat-datepicker-toggle matSuffix [for]="periodStartPicker"></mat-datepicker-toggle>
|
||
|
<mat-datepicker #periodStartPicker></mat-datepicker>
|
||
|
</mat-form-field>
|
||
|
</div>
|
||
|
<div class="col-sm-6 col-md-2">
|
||
|
<mat-form-field>
|
||
|
<input matInput
|
||
|
(focus)="periodEndPicker.open()"
|
||
|
(click)="periodEndPicker.open()"
|
||
|
name="projectCriteriaPeriodEnd"
|
||
|
placeholder=" {{'CRITERIA.FORMS.PERIOD-TO'| translate}}"
|
||
|
[matDatepicker]="periodEndPicker"
|
||
|
[ngModel]="this.criteria.PeriodEnd" (ngModelChange)="controlModified()">
|
||
|
<mat-error *ngIf="getFormControl('periodEnd').errors?.backendError">{{baseErrorModel['Criteria.PeriodEnd']}}</mat-error>
|
||
|
<mat-datepicker-toggle matSuffix [for]="periodEndPicker"></mat-datepicker-toggle>
|
||
|
<mat-datepicker #periodEndPicker></mat-datepicker>
|
||
|
</mat-form-field>
|
||
|
</div>
|
||
|
</div>
|
||
|
</mat-card>
|
||
|
</form>
|