Skip to content

Triggering a "click" on a button with type="submit" doesn't fire the "submit" event on the containing form #1278

Closed
@thejcannon

Description

@thejcannon

Version

1.0.0-beta.29

Reproduction link

https://codesandbox.io/s/vue-template-2txst

Steps to reproduce

(I can't seem to get the tests to not fail with "Cannot read property 'Ctor' of undefined")

Once the tests work though, simply running them should outline the bug.

What is expected?

When I click the "submit" button, the form "submit" listener to be called.

What is actually happening?

It isn't being called.

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