I am trying to add minDate and maxDates in datepicker of BeyondAdmin Theme not simple jquery datepicker, but it's not working. Following is myjquery code to set dates :
<script type="text/javascript">
$('#id-date-picker').datepicker({
format: 'dd/mm/yyyy',
minDate: new Date(),
maxDate: new Date(),
});
</script>
and I have used razor syntax like this
@Html.Bootstrap().TextBoxFor(t => t.EntryDate).Id("id-date-picker")
Date Format is working fine but not min and max Dates. Has somebody used this theme, can somebody please help me out? Thank you