Hi。
How to reset the DatePicker with Client Action.
I set the Local Variable to NullDate in the Clear Client Action.
Local Variable can be reset. but the DatePicker can not be reset to empty.
Thank you for your help
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Interaction/Date_Picker
There is a Clear Function inside。
Thank you.
Hello Yulong,
Please refer below posts
How To Refresh The Date Picker Widget Previously Selected Date | OutSystems
DatePicker - Reset Selected Dates within Widget using Client Action | OutSystems
Hope this helps.
Regards
Rahul
Thanks @RAHUL CHAVAN This works for my task.
Hello YULONG,
You can try this with JavaScript, you just need to pass the Widget ID using input parameter in you JavaScript widget in your client action .
document.getElementById($parameters.ElementId).value = ''
I hope this will work for you! Check Oml attached.
Thanks,
Tousif Khan