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

Comments

2 participants
@SammyM

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

This comment has been minimized.

Show comment
Hide comment
@gpbl

gpbl Jun 30, 2017

Owner

sure! nice catch thanks

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 in 4d99df1 Jul 2, 2017

@gpbl

This comment has been minimized.

Show comment
Hide comment
@gpbl

gpbl Jul 2, 2017

Owner

Fixed in v6.0.5

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