219
Views
3
Comments
How to disable Saturday and Sunday in the new date picker ?

How can I disable Saturday and Sunday in the new date picker ?

In the old date picker there was a disable week day setting but in this one there is not present.

2023-10-21 19-42-11
Tousif Khan
Champion
2022-06-06 09-58-43
Gourav shukla

Hello,

         Use a JavaScript function in DatePicker On Initialized event. I have send a OML file may be it will help you.

Thanks

DatePicker.oml
2025-03-31 10-13-29
Informática Cuina Justa

There are 2 Client actions available on OutsystemsUI called "DatePickerDisableDays" and "DatePickerDisableWeekDays" which can be call in the OnReady event. The first option lets you disable individual days from a list and the second one lets you disable any week day for every week.

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