Outsystems UI Interaction\DatePicker issue
Question
Application Type
Reactive
Service Studio Version
11.10.16 (Build 40209)

Hi,

I have Outsystems UI Interaction\DatePicker in one of webblock. In Handler action of DatePicker widget I am having assignment in which i am assigning StatDate value of datepicker to the input.

But I can't see the selected date in Input box on first attempt but when I tried for second time with same date then it will showed up in the Input field (but when I selected the different date then it doesn't showed up i.e for every date to showed up it will take two attempt). I think the there is some problem in binding the value to input or some refresh thing is not happening for the datepicker widget.

Thanks....  

I too faced this issue. Try following approach and see if that works.

  • Create one local variable , 
  • OnInitilize event, Assign the default date which you want it to appear while page loads
  • assign that variable to datepicker.

Problem is not with to show the values which fetching from the DB. 

But the first time when I try to select the date. 

Yes I am using the Local variable to which I am binding the value of StartDate.

Thanks for the commment.

Hi

How the assignment in the onSelect Handler action works exactly.?

thanks...

Hi @Rohan Jain 

I tested the date picker and works properly. If you can, share the oml to check the use case.

Meanwhile, you can check these links to understand better the plugin

https://outsystemsui.outsystems.com/OutSystemsUIWebsite/PatternDetail?PatternId=31

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Date_Picker

Regards

Gonçalo Almeida

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