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

Interval limit #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Interval limit #19

wants to merge 3 commits into from

Conversation

didoda
Copy link

@didoda didoda commented Dec 29, 2020

This introduces an :interval-limit option to limit the number of hours intervals per day.
Often opening hours are meant to be 2 intervals (morning and afternoon hours), so default :interval-limit is 2.

Usage:

<business-hours
    :days="holidays"
    name="holidayHours"
    type="select"
    :time-increment="60"
    :interval-limit="2"
    color="#00af0b"
  ></business-hours>

@sbarry50 do you think this makes sense? would you do that in another way?

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

Successfully merging this pull request may close these issues.

1 participant