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

Unset automatically changed startTime #134

Open
loeffe1 opened this issue May 4, 2021 · 0 comments
Open

Unset automatically changed startTime #134

loeffe1 opened this issue May 4, 2021 · 0 comments

Comments

@loeffe1
Copy link

loeffe1 commented May 4, 2021

I am using multiple timepicker inputs and selecting a time in one will move the startTime of the next timpicker close to that selected time, so the select will no longer start at the original startTime. This is generally a great feature but I need to be able to reset this for some of my timepicker inputs. I tried calling

$('input.timepicker').each(function() {
    $(this).timepicker({startTime: new Date(0,0,0,6,0,0)});
})

again but for some reason this doesn't seem to have any effect. Is there some kind of reset call?

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