Input Type Date Issue / Problem
Question

Hello All,

Here i have Input Booking Date with this condition . 

When I'm run it, it will show like this.
What i want to do is if today is 31 May 2022, then the user only can choose 31 May 2022, 1 June 2022, and so on. So 30 May 2022, 29 May 2022 cannot be chosen by user.

Thanks guys !!
Best Regards
Ran

If you hover the OptionalConfigs, a + sign will appear. Click on it and the fields will appear

Hi Ran,

You can use the DatePicker from OutSystemsUI. In the MinDate field use CurrDate().


And the days in the past will be disabled.



Hope this helps,

Pedro

Hi Pedro,
Thanks for ur responding!

Why my DatePicker is different with you?

in mine, i doesn't having initial and min date 

If you hover the OptionalConfigs, a + sign will appear. Click on it and the fields will appear

Aaa i see,

Thankss very much Pedro!!

Best Regards,
Ran

One another question, Why it got something error here? 

In there you need to define the Handler for the DatePicker.

The action you define there will be called every time you select a date.

Basically what you probably need to do is to assign the variable you had on your initial input (before turning it into the date picker) to the SelectedDateTime, that is the Date you choose in the datepicker.


You can check this link for more info https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Interaction/Date_Picker

Okay, Pedro..
Thanks very much for the explanation!!
Really appreciated it!
Thankyouu

Best Regards,
Ran

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