668
Views
6
Comments
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....  

2021-07-21 10-26-16
Vani Mankad

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.
2020-06-27 18-35-53
Rohan Hanumante

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.

2020-06-27 18-35-53
Rohan Hanumante

Hi

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

thanks...

2018-12-10 12-16-21
Goncalo Duarte Almeida

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

2019-05-10 11-25-39
Nuno Costa
i'm facing problems with On After Fetch.
UserImage.jpg
Balaji Aj

In Outsystems UI 2.9.0 we have advanced datepicker, Use Interaction/DatePicker it has lot of pros like changing format, open, close, edit etc. You need to add dependencies for client functions interacting with picker. Please check the attached OML. 

ServiceStudio: Version 11.53.14 / Build 61243

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