132
Views
7
Comments
Solved
Calendar Reactive
Question

Hi guys, 

due to security reasons, I cannot share the UML file of the project, but the question I have is a very simple one: how to make a date input in Outsystems, to be only able to pick a date only starting from the present date, never before the current date 


UserImage.jpg
vikas sharma
Champion
Solution

Hi,

You can use Datepicker from widget. In this you have configuration to set min and max date. So in min date you set CurrDate() so it will only allow today and future dates.


UserImage.jpg
Fabiano Ferreira

 

UserImage.jpg
vikas sharma
Champion

Hi,

Not able to understand the meaning of this blank reply. Is  your issue fixed or still facing.

regards

UserImage.jpg
Fabiano Ferreira


We cannot use external plugins from forger, without external authorization 

UserImage.jpg
vikas sharma
Champion

Hi

This is not external forge. This widget is available in OutsystemsUI only.

Regards 

UserImage.jpg
Fabiano Ferreira

I managed to use the datepicker plugin, however, I'd like that the date before DateCurr in the calendar was disabled

2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Fabiano,

To prevent dates before the current date from being selectable in the calendar, you can set the MinDate property under the OptionalConfigs section in the DatePicker widget as highlighted below.

I hope this helps you!


Kind regards,

Benjith Sam

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