I am pasting the below code snippet where nb-datepicker is working but I want time also to be part of my input filed then I used nb-date-timepicker which is not working
Could some one help me if you also come across issue with nb-date-timepicker
<div class="col-md-6">
<div class="row">
<div class="col-md-6 form-group">
<input class="dippam" placeholder="Pick From Date" [nbDatepicker]="formcontrol" formControlName="fromDate">
<nb-date-timepicker #formcontrol singleColumn [step]="10" (dateChange)="getFromDate($event)"></nb-date-timepicker>
<span *ngIf="f.fromDate.errors && (f.fromDate.touched || submitted)" style="color: red;">From Date is required</span>
</div>
<div class="col-md-6 form-group">
<input class="dippam" placeholder="Pick To Date" [nbDatepicker]="ngmodel" formControlName="toDate">
<nb-datepicker #ngmodel (dateChange)="getToDate($event)"></nb-datepicker>
<span *ngIf="f.toDate.errors && (f.toDate.touched || submitted)" style="color: red;">To Date is required</span>
</div>
<!-- <input nbInput placeholder="Pick Date" [nbDatepicker]="dateTimePicker">
<nb-date-timepicker withSeconds #dateTimePicker></nb-date-timepicker> -->
</div>
</div>
question from:
https://stackoverflow.com/questions/65919859/nb-date-timepicker-is-not-working-where-as-nb-datepicker-is-working 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…