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

Show all enabled hours in hours view mode #116

Open
HadiAkmal opened this issue Jul 11, 2019 · 0 comments
Open

Show all enabled hours in hours view mode #116

HadiAkmal opened this issue Jul 11, 2019 · 0 comments

Comments

@HadiAkmal
Copy link

HadiAkmal commented Jul 11, 2019

This is my code to limit hours. I only allowed 8 AM to 5.30 PM:

			$('.datetimepicker1').datetimepicker({
				format: 'h:mm A',
				minDate:moment({h:8}),
				maxDate:moment({h:17, m:30}),
				ignoreReadonly: true
			});

It shows the time correctly:
image

But it does not allowed me to select enabled hours in Hours View Mode. For example I want to select 8 AM but it's not available. However 8 PM is correctly shown and disabled here:
image

How can I show all enabled hours in Hours View Mode? Maybe an arrow so I can go back to select 8 AM?

Thanks in advance.

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

1 participant