Hi!
Can someone help me with this problem in time type input? I set the time and then when I return to the page I lose seconds, any idea what it might be? (note that the local variable in the debug has the seconds)
Regards!
Hi Diana,
Sorry!, I'm not able to figure out the causing issue/bug for the reported case, but I do have a workaround to share.
Steps to follow:
See this sample app
Hope this helps you!
Kind regards,
Benjith Sam
Hi Benjith,
Solved my problem!
Thank you so much!
You're most welcome, Diana.
Glad to help you :)
I also want to thank you for sharing the learning which you had in your last post i.e. we can set the Time type input widget with step attribute/property value to 2 i.e. step = 2 to enable the second's selection list in the time picker. It was new learning for me as well :)
Unfortunately it doesn't work properly on android, because it doesn't show the seconds, do you know the reason?
Thank you!
After a little digging, DatePicker widget from OutSystemsUI, only sets up hours and minutes when ShowTime variable is set to True.
Cloning the picker and doing the fix, it solves your issue.
Check the OML in attachment with the fix.
Hope it helps.
Regards,João
Hi João,
I am not using the DatePicker widget.
Sorry, I misunderstood.
Indeed the value which is rendered in the HTML loses the seconds value.
The assign would have to be made in a different way to workaround the value which is inserted in the HTML or with a javascript to force the time value with seconds to be there.