Skip to content

Ignores formaction attibute on submit button #7

Description

@mechanic22

It seems this library ignores the formaction attribute if on a submit button

With your aspnet-validation enabled, no matter which button you click it posts to the /manage endoint instead of the /manage-differently endpoint specified by the button's formaction attribute no matter which button you click,

<form method="POST" action="/manage">
    <button type="submit">Submit Actual Form</button>
    <button type="submit" formaction="/manage-differently">Submit To Separate Endpoint</button>
</form>

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