Created
July 20, 2020 13:28
-
-
Save reachkamrul/34712727bfecf31d3a5357e0d434bd28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
onChange: function(selectedDate, dateString) { | |
var date = selectedDate[0] ; | |
date.setDate(date.getDate() + 1); | |
flatpickr('.endingDate', { | |
"minDate": date, | |
dateFormat: "d/m/Y", | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment