I have a database collection where my users save his days of availability.
The main fields are boolean type, and my users choose the day.
Then I want to use the API disabledDaysOfWeek to automatically disable the days in a datepicker in my page.
About the example, How to disable Monday, Tuesday and Wednesday in a datepicker.
I can´t fill the array [ ] programatically,
Can you help me please!!