air-datepicker
air-datepicker copied to clipboard
Clear button, Today button should trigger OnUpdate action with the new date
When clicking on the clear or today buttons, it needs to trigger the OnUpdate action because the date is changing, but you can do anything with the data returned. (i.e. No Date on the Clear button)
to find clear button in version 2
$('#datepickers-container').find('.datepicker--buttons').find('[data-action="clear"]')