I followed this tutorial : https://bootstrapstudio.io/tutorials/date-picker
And it’s all working fine but I’m trying to disable Saturday and Sunday in the date picker.
Js isn’t really my thing so I looked around and found this short piece of code:
But I just can’t get it to work. I tried adding to different place within the datepicker.js file, but nothing worked so far. Would you guys know how to make this work with Bootstrap Studio ?
Also, I’d like my date selector to NOT allow picking a date before ‘today’ if possible.
Looking forward to your answers !