How to close datepicker once the user clicks a date?

The only way to close the datepicker is by clicking outside the calendar.
Solution
use the closeOnDateSelection() method.
Was this page helpful?