-
Notifications
You must be signed in to change notification settings - Fork 77
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
Disable specific time in time picker #230
Comments
Hi sohailrajdev97, |
@lloydbanks. See the https://puranjayjain.github.io/md-date-time-picker/#documentation/init |
For an example, see line number 95 in this file : https://github.com/ID-BPHC/Instruction-Division-2.0/blob/master/views/room-booking/step1.jade |
@sohailrajdev97 thanks for your reply and example, I know about |
Hi, @sohailrajdev97 @lloydbanks there is no such provision in the current project to disable single days, however, you can do so by tinkering with the code. I would suggest you add a class to each cell you want to disable, look here https://github.com/puranjayjain/md-date-time-picker/blob/master/src/js/mdDateTimePicker.js#L560 and add CSS attribute |
There needs to be a feature to disable a specific time in the time picker dialog (Like the one in the date picker dialog where one can choose a starting date and all the dates before that chosen date are disabled).
The text was updated successfully, but these errors were encountered: