Hello,

For 2 days I'm trying to fix this issue without any luck.

So I'm using a datePicker in Reactive application. I need the date to be formatted as "DD/MM/YYYY" which I managed to do setting an input type to "Text".

However on clicking the "Save button" date formatting changes automatically to this and I get validation error:

I tried to change date format in the service centre but it doesn't work, widget behaves the same.

If I use input type "Date" all works well but the displayed format is wrong.

Any help is appreciated, thank you. 

Solution

hai  Mark Bayles 

I Have Share The DateAndTime OML Sheet 

Procedure Your Local variable And Input Wights Both Text Data Type

In The Date picker Action Start Date Input parameter Data Type Is Date And Time 

in Logic Flow Assign The  Start Date to Local Variable 

 


Hope This Will Solve The Problem 

Regards 

S.Selva


Solution

Selva bharath wrote:

hai  Mark Bayles 

I Have Share The DateAndTime OML Sheet 

Procedure Your Local variable And Input Wights Both Text Data Type

In The Date picker Action Start Date Input parameter Data Type Is Date And Time 

in Logic Flow Assign The  Start Date to Local Variable 

 


Hope This Will Solve The Problem 

Regards 

S.Selva


Thank you, Selva, your answer helped me to solve it. 

For people who might have the same issue: in SaveDetail action convert this text variable to date and assign its value to the entity attribute (variable) after form validation. 

 

Hai Mark Bayles  

Always Welcome

Happy Journey In Outsystems   

Regards

S.Selva