I want to restrict the future and past days using Angular 4 Date-Picker.I just want to enable Current Date[today] only.How can i solve this.
Can anyone have idea...???
This is my template:
<input type="text" placeholder="FromDate" class="form-control"
placement="top"
formControlName="fromDate"
[bsConfig]="{ dateInputFormat: 'DD-MM-YYYY' }"
bsDatepicker style="padding: 16px">