Skip to content

Remove extraErrorsBlockSubmit flag on Form and make extraErrors always block validation #4964

@heath-freenome

Description

@heath-freenome

Prerequisites

What theme are you using?

core

Is your feature request related to a problem? Please describe.

When the extraErrorsBlockSubmit flag was added back in the day, it was done to avoid a breaking change to how extraErrors affected the form submission.

Describe the solution you'd like

Given that users are likely to want them to block form submission, I recommend that we either remove the flag entirely OR change it to extraErrorsAreWarnings instead to switch the default behavior.

Describe alternatives you've considered

No response

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