Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rupam-Quila opened this issue Jan 19, 2019 · 1 comment
Open

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

Rupam-Quila opened this issue Jan 19, 2019 · 1 comment

Comments

@Rupam-Quila
Copy link

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
`


Date Time Picker

` **And Script Code** <script> $(document).ready(function() { //init DateTimePickers materialKit.initFormExtendedDatetimepickers(); }); </script>

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants