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"
#dp="bsDatepicker"
bsDatepicker
formControlName="delivery_date"
placeholder="DD/MM/YYYY"
[minDate]="cartItems.minDeliveryDate"
[isOpen]="isCalendarOpen"
[bsConfig]="bsConfig"
/>
I need this kind of output
CodePudding user response:
Use this
bsDaterangepicker [daysDisabled]="[6,0]"