Ionic2-Calendar
Ionic2-Calendar copied to clipboard
Validate hours weekview
Hello, I would like to know how to validate in the week view the choice of two or more consecutive hours example
the user can select two hours from 8am to 9am and from 9am to 10am
but no 8am to 9am 11am to 12pm
thx
@wapewape There's a callback method "onTimeSelected" will be triggered when a time slot is clicked. You could add logic in this method to track the start hour and validate the end hour.