Is there a way to disable specific hours on DatePicker?

I'm creating a leasing application in which you can schedule a room for n hours or days, I want to disable any DateTime already scheduled.

DatePicker already has methods to disable Days and Weeks, I have to deactivate specific hours in a day. I already have a list of (un)available hours per day.

Hello Gabriel,

You would have to work with two date time type attribute, and based on it filter from what date time to what date time the room is available.

Tell me if I help you.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.