fixed date editing, fixes #10

This commit is contained in:
Jonas Winkler
2020-11-04 13:10:23 +01:00
parent 8dd773e059
commit a8c0307d54
7 changed files with 127 additions and 38 deletions

View File

@@ -0,0 +1,14 @@
<div class="form-row">
<div class="form-group col">
<label for="created_date">{{titleDate}}</label>
<input type="date" class="form-control" id="created_date" [(ngModel)]="dateValue" (change)="dateOrTimeChanged()">
</div>
<div class="form-group col">
<label for="created_time">{{titleTime}}</label>
<input type="time" class="form-control" id="created_time" [(ngModel)]="timeValue" (change)="dateOrTimeChanged()">
</div>
</div>
<!-- <small *ngIf="hint" class="form-text text-muted">{{hint}}</small> -->