I need to customize the daterangepicker
library using ngxDaterangepickerMd
in order to separate the start date
into its own input field from the end date
. This way, I can make individual modifications to either the start date
or end date
without affecting the other.
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 DC">
<div class="form-group">
<img src="./assets/icons/calender-01.svg" class="cImg">
<input id="datepicker1" class="form-control dpFrom" type="text" name="daterange" placeholder="Departure"
ngxDaterangepickerMd [(ngModel)]="selected" [minDate]="minDate" [showClearButton]="true"
[singleDatePicker]="false">
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 AC">
<div class="form-group fff">
<img src="./assets/icons/calender-01.svg" class="cImg">
<input id="datepicker2" class="form-control dpTo" type="text" name="arrival" placeholder="Return">
</div>
</div>