creativetimofficial / material-kit

Free and Open Source UI Kit for Bootstrap 5, React, Vue.js, React Native and Sketch based on Google's Material Design
https://www.creative-tim.com/product/material-kit?ref=mk-creativetimofficial-github
MIT License
5.91k stars 1.34k forks source link

How to disable previous date in datepicker in Material Kit? #151

Open Rupam-Quila opened 5 years ago

Rupam-Quila commented 5 years ago

datetimepicker.zip

  1. Date Should be start from current date
  2. User can't select previous date Example: Suppose Today's date is (as format of dd/mm/yyyy) 18/01/2019 so user can't select previous date such as 15/01/2019, 16/01/2019, 17/01/2019 or 01/01/2018 and so on... but can select today's date (18/01/2019) or next date (19/01/2019, 20/01/2019, 22/01/2019) and so on...

I used HTML code `

<input type="text" class="form-control datetimepicker" value="10/05/2016">

` And Script Code

I give you URL Please check that : http://pradiptabera.com/datetimepicker/

And please give me clear and suitable code to fix this problems....Thank You and Thanks for response to me.

jayasanka-sack commented 5 years ago

Hi Rupam, Please reffer the documentation of datetime picker plugin. http://eonasdan.github.io/bootstrap-datetimepicker/