Closed frabanca closed 5 years ago
My bad, after a careful reading of your demo code I realized I can use the this.picker.clear()
which
doesn't throw any error.
Thanks
How do I get a reference to this.picker in this case?
use view child and get the picker directive reference
Hi! I'm using this datepicker inside a component in an Angular 7 app, and since I'm using the daterange input to filter a Datatable I need to reset the input once the user click on a "Reset filters" custom button. How can I do that?
My code:
HTML code
Typescript code