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

Today button inside form causes submit #443

Closed
SammyM opened this issue Jun 30, 2017 · 2 comments
Closed

Today button inside form causes submit #443

SammyM opened this issue Jun 30, 2017 · 2 comments
Milestone

Comments

@SammyM
Copy link

SammyM commented Jun 30, 2017

If the date picker is placed inside a form, clicking the 'Today' button causes a form submit.

You can reproduce the bug here: https://jsfiddle.net/cggxvq6t/35/

Can we add type="button" to the button to prevent this please?

@gpbl gpbl added bug labels Jun 30, 2017
@gpbl
Copy link
Owner

gpbl commented Jun 30, 2017

sure! nice catch thanks

@gpbl gpbl added this to the v6.0.5 milestone Jun 30, 2017
@gpbl gpbl closed this as completed in 4d99df1 Jul 2, 2017
@gpbl
Copy link
Owner

gpbl commented Jul 2, 2017

Fixed in v6.0.5

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