Issue
I have a working angular project and I used bsDatepicker date picker using by text type input, I need to disable Saturday and Sunday in the date picker.
Is possible to disable particular days?
<input
type="text"
class="form-control"
#dp="bsDatepicker"
bsDatepicker
formControlName="delivery_date"
placeholder="DD/MM/YYYY"
[minDate]="cartItems.minDeliveryDate"
[isOpen]="isCalendarOpen"
[bsConfig]="bsConfig"
/>
I need this kind of output
Solution
Use this
bsDaterangepicker [daysDisabled]="[6,0]"
Answered By - Abhishek Mishra
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.