Skip to content

Instantly share code, notes, and snippets.

@reachkamrul
Created March 10, 2020 04:10
Show Gist options
  • Save reachkamrul/b138f86cf8e65fda1e140f60210d9af9 to your computer and use it in GitHub Desktop.
Save reachkamrul/b138f86cf8e65fda1e140f60210d9af9 to your computer and use it in GitHub Desktop.
min date flatpickr
{
onChange: function(selectedDate, dateString) {
var date = selectedDate[0];
flatpickr('.endingDate', {
"minDate": date,
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment