I am trying to reset the value of the date picker input field to the current date but it didn't work. However, I have tried several solutions suggested in forums but haven't had any luck.
My requirement is straightforward. I have a date picker input field, and when a user clicks the reset button, the selected date on the input field should display the current date.
I attached the OML file herewith.
Hi,
SWAMYDURAI SARAVANAN
Due to your requirement i build all the things . please check in this module
thanks
shivam mishra
To change a date, you should use the DatePickerUpdateDate action from OutSystems UI:
To clear a date, you should use the DatePickerClear action from OutSystemsUI:
Kind Regards,João
Thanks for your reply. Earlier I tried this method But no luck. Now I understood why It didn't work, The DatePickerWidgetId was wrong. However I solved the issue now.
Please set initial Date value as CurrDate()
and on reset button action