How to disable selecting dates over different disabled date ranges?

Hello!

I have a date range picker containing ranges of disabled dates. In this example Aug 1 to 6 is available, Aug 7 to 15 is disabled, and Aug 16 to 31 is available.
Now I don’t want to allow users to select a start date between Aug 1 and 6, and a end date between Aug 16 and 31 (with the disabled dates in between). I only want to allow a date range selection of consecutive available dates.

Does anyone know how to prevent this?

Thanks!

1 Like

Thank you for your question.
Let me check with the team and see how we can assist you. I will get back to you as soon as possible.

1 Like

Thanks, would be great if there is a solution for this!