allerta-vvf/frontend/src/app/_components/datetime-picker/datetime-picker.component.html

5 lines
408 B
HTML

<div class="input-group">
<input type="text" [disabled]="disabled" [placeholder]="'press_to_select_a_date'|translate" class="form-control date-picker"
bsDatepicker [bsConfig]="{ adaptivePosition: true, dateInputFormat: 'DD/MM/YYYY' }" [(ngModel)]="date" (ngModelChange)=updateValue()>
<input type="time" [disabled]="disabled" class="form-control" [(ngModel)]="time" (change)=updateValue()>
</div>