In Input widget when Input type is set to date, Clear button doesn't work in date picker
61
Views
4
Comments
New
Frontend (App Interfaces)

It has been into my observation that whenever we drag the input widget and choose the Input type as "Date". Outsystems date picker comes into existence in frontend where if we click on "Clear" present at the bottom (as shown in attachment) It doesn't clear the date which we choose. It's somewhat a bug. We can have an improvement on this. Outsystems can implement the Clear button logic. At this point of time we have to use forge components for this. So that dependency can get eliminated.

Clear_Datepicker.png
2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP

Hi Aditya,

Can you share your code, for me the clear button works out of the box correctly.

Regards,

Daniel

Hi Daniel,

Do we need to create a particular code for "Clear" button to work? Say in DatePickeronChange action. Because I think that "Today" button takes the currentdate automatically. Please correct me on this.


2020-04-15 12-37-36
Daniël Kuhlmann
mvp_badge
MVP

No you don't need to do anything

Then Its not working...