Skip to content

Today button inside form causes submit #443

Closed

Description

@SammyM

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?

Activity

  1. gpbl commented on Jun 30, 2017

    @gpbl
    Owner

    sure! nice catch thanks

  2. added this to the v6.0.5 milestone on Jun 30, 2017
  3. gpbl commented on Jul 2, 2017

    @gpbl
    Owner

    Fixed in v6.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions