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.
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
Selva bharath wrote:
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.
Mark,
Just take a look on this below thread and its most relevant to your ask.
https://www.outsystems.com/forums/discussion/57138/outsystems-ui-react-datepicker-with-input/
https://www.outsystems.com/forums/discussion/54793/date-picker-is-not-working/
Hai Mark Bayles
Always Welcome
Happy Journey In Outsystems