Skip to content

Inline Editing onPreSave doesn't persist error style (red outline) #713

Open

Description

@adamthomas-builtdna

When using the side panel editor, if the onPreSave hook returns an error a snackbar message if shown with the error and the field has a red error outline. However if this happens when performing an inline edit the snackbar message is shown but the cell reverts to a blue outline instead of a red outline like it does for other errors such as regex validation errors.

Without a red outline (or some other indicator) it's not clear to the user that the value in the cell has not been saved because there was an error.

Activity

  1. fgatti675 commented on Sep 29, 2025

    @fgatti675
    Member

    Hi @adamthomas-builtdna thanks for reporting this.
    The behaviour inline is as expected with no onPreSave hook?

  2. adam0084 commented on Sep 29, 2025

    @adam0084

    Yes if there's no onPreSave hook then the behavior is correct. The issue is when there is an onPreSave hook that throws an error. Then the in-line editing behavior does not show the error the way the side panel form does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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