Created
August 31, 2017 21:34
-
-
Save mfyance/7eb27cd3d5e3fc9e76bd159ab9b0129c to your computer and use it in GitHub Desktop.
flatpickr - Agregar nuevo parámetro en su config
This file contains 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
var calendar = document.querySelector("#fechaFin")._flatpickr; | |
calendar.set("minDate", $scope.oData.strFechaFin); | |
// Otra forma de agregar un parámetro en el config del datepicker | |
calendar.config.minDate = $scope.oData.strFechaFin; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment