Skip to content

Need to add type='button' to prevent form submission #42

@benhaynie

Description

@benhaynie

If using the Date Picker inside of a form, and the form has an action, or ngSubmit on it, the form will submit when the month/year button is clicked. This is because the type needs to be specified on buttons otherwise it will default to thinking it is a submit button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions