Skip to content

Issue when using steps and grids #194

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

Open
damdam76 opened this issue Jul 5, 2011 · 4 comments
Open

Issue when using steps and grids #194

damdam76 opened this issue Jul 5, 2011 · 4 comments

Comments

@damdam76
Copy link

damdam76 commented Jul 5, 2011

I am encountering problem when using minuteGrid and stepMinute at the same time.
For exemple:

jQuery('#dpDepart').timepicker({
    hourMin: 8,
    hourMax: 18,
    hourGrid: 1,
    minuteGrid: 10,
    stepMinute: 10
});

With this code, labels for minutes are 0,10,20,30,40 only.
50 does not show up thus making slider not corresponding with labels under it.

Have I missed something ?

Thank you

@alexandergitter
Copy link
Contributor

Is this still present in the dev branch? Should be fixed there iirc.

@damdam76
Copy link
Author

damdam76 commented Jul 6, 2011

hi,

thx for the reply,

When using dev branch version, problem is not present, slider steps get well aligned with label, but (saddly there is a 'but') it is now impossible to select minutes above 50 :-(
50 label is at the really end of the slider and it is not possible to slide above.

@alexandergitter
Copy link
Contributor

Well if you set stepMinute to 10, then 50 is the maximum value for minutes. The next step would be 60, which doesn't make sense.

@keithnicholson
Copy link
Contributor

damdam76,

Would you consider this still an issue, or could it be closed?

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

3 participants