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

Dates get returned twice #13

Closed
rgbskills opened this issue Feb 21, 2017 · 2 comments
Closed

Dates get returned twice #13

rgbskills opened this issue Feb 21, 2017 · 2 comments

Comments

@rgbskills
Copy link

Hello, I have a calendar that send's some date params and they get sent twice, Any idea about what I am doing wrong?

here is an example, you will see the duplication in the console after the second selection, For some reason the first time you select its not duplicated.

http://codepen.io/rgbskills/pen/RKXqEa?editors=0010

Thank you very much in advance :)

@crsten
Copy link
Owner

crsten commented Feb 21, 2017

Hi again :)

It seems to be this line
datepicker.maxSelections = 7;

i guess this modification calls the onSelect method which seems to be a bug!
Will look at it asap...

In the meantime you can just avoid setting maxSelections since it isn't necessary anyways

@crsten
Copy link
Owner

crsten commented Feb 21, 2017

#14

@crsten crsten closed this as completed Feb 21, 2017
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

2 participants