@ViewChild('dp') ngxdp: AngularMyDatePickerDirective;
model: IMyDateModel = null;
// call directive method to clear the date
clearDate1(): void {
this.ngxdp.clearDate();
}
// set model to null to clear the date
clearDate2(): void {
this.model = null;
}
Hello @balinenidileep