Skip to content

please add 'type="button"' to Start/Stop button #12

@amkir

Description

@amkir

Hello!

Your plugin adds to some forms. Default type of button is 'submit'. When user press ENTER in the form, the first form's element of type 'submit' is activated. In case of your pligin it will be your button, so user by pressing ENTER gets start/stop timer action instead of expected complete form and submit it to the server.

Changing it to avoided this problem.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions