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

having two of these causes each one to jump forwards by 2 months when click next month button #63

Open
lauriek opened this issue Oct 31, 2022 · 0 comments

Comments

@lauriek
Copy link

lauriek commented Oct 31, 2022

I've got two simplePickers, for starts at and ends at

var sa_simplePicker = new SimplePicker(['input#starts_at', {zIndex: 100}]);
var ea_simplePicker = new SimplePicker(['input#ends_at', {zIndex: 100}]);

and some simple js to open these when each input is focused. That works fine, but when I have both enabled, in either when popped up, if I click next month it goes forwards two months, And when I close the popup and the on submit function fires, it fires for both (that function just outputs the readableDate to the input value - it ends up in both.

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