I am using the date selector in my operation dashboard. Within date selector, I am using date picker with input type "Range". The problem I am facing is that I couldn't see any way to clear the dates from date picker when I want to go back to normal view. I have to refresh the page every time. Is there any way to clear the selected dates from the date picker?
Hi Muhammad Yasir,
I used to be able to clear the date input by using datetextbox
<input data-dojo-type="dijit/form/DateTextBox" data-dojo-attach-point="sourceDate" />
One thing to take note is you need to import widgettemplatemixin and better to call this.inherited(arguments) method at post create.
The best for that kind of question is by sharing your code.