Skip to content

Can't disable toast for modal action responses #6898

@swarley

Description

@swarley
  • Laravel Version: 11.0.0
  • Nova Version: 4.35.10
  • PHP Version: 8.2

Description:

Is there any way to disable a toast for modal action responses? Looking at the code it appears as though there isn't, but showing a toast is redundant when you're opening a modal.

It's confusing to say that an action has succeeded when the interaction has not concluded

I have verified that the same behavior exists in v5

Detailed steps to reproduce the issue on a fresh Nova installation:

Create a modal action
Run the action
"The action was executed successfully" is toasted, and cannot be prevented with a manual falsey value in the data array.

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