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

range time #374

Open
fyher opened this issue Feb 9, 2018 · 1 comment
Open

range time #374

fyher opened this issue Feb 9, 2018 · 1 comment

Comments

@fyher
Copy link

fyher commented Feb 9, 2018

it's possible tu limit te liste oh hour ?
for example I want just to list to 7 at 22 ? and not 0 to 24

thanks

@charlotteoswald
Copy link

I can't really understand your question, but if you are trying to allow only a selection between two times, use it like this:
$('.timepicker').timepicker({ minuteStep: 30, icons: { up: 'mdi mdi-chevron-up', down: 'mdi mdi-chevron-down' } }).on('changeTime.timepicker', function(e) { if(e.time.value >= "12:00 AM"){ alert("Event must end before end of the day. "); } });

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