There’s a way to make two or more separate slots in a time picker. Something like:
flatpickr(bookingHour, {
enableTime: true,
noCalendar: true,
dateFormat: "H:i",
enable: [
{
from: "11:30",
to: "15:30",
},
{
from: "19:30",
to: "23:45",
},
],
});
Something like enabling range(s) of dates but with time.