Skip to content

Do not flash inputs along with validation errors inside an Inertia app #89

@thetutlage

Description

@thetutlage

Currently, when we flash validation error messages via session.flashValidationErrors, we also flash all the input data.

Flashing input data is fine for traditional full-page reloads where the page state is not maintained. However, for Inertia applications, flashing input data is of no use, since this information is not even shared with the templates in the first place.

The error handler can be smart about Inertia applications and should not flash input data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions