How to clear the date field

Hi,

I am using pop-up date field in-order to provide an option to user to select the date.

I am able to select the date field and perform my logic.

Is there a way to clear the last selected date on click of a button ???

Thanks

Hi,
i think that

popupdate.setValue(null);

is what you are looking for.