Skip to content

Nested form submit trigger #236

@alexanderkirtzel

Description

@alexanderkirtzel

Is your feature request related to a problem? Please describe.
Right now the submit trigger has to be placed in the form element. But it should also be working if it's placed on buttons, like the regular tagging works.

Describe the solution you'd like
The following code should work:

<form id="form" data-elb="form">
  <input type="text" />
  <button type="submit" data-elbaction="submit">Submit</button>
</form>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions