Last active
October 1, 2021 18:17
-
-
Save pedroinfo/0df04053ace3afc3457222dd7c0e7911 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
<div class="input-group date"> | |
<input type="text" asp-for="DataPlanejada" class="form-control datepicker-button autocomplete="off"> | |
<div class="input-group-append"> | |
<label class="input-group-text" asp-for="DataPlanejada"><i class="fa fa-calendar"></i></label> | |
</div> | |
</div> | |
$('.datepkr_ano, .input-group.ano datepkr_ano').datepicker({ | |
format: "dd/mm/yyyy", | |
//defaultViewDate: { year: 2021, month: 1, day: 1 }, | |
weekStart: 1, | |
minViewMode: 2, | |
maxViewMode: 2, | |
todayBtn: "linked", | |
clearBtn: true, | |
language: "pt-BR", | |
daysOfWeekHighlighted: "0,6", | |
autoclose: true | |
//orientation: "auto" | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment