Can't disable toast for modal action responses
- Dominant language
- No language data
- Stars
- 557
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
- 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.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name files or tests. Reproduce the behavior on a fresh Nova installation with a modal action, then trace how the modal action response triggers the success toast; done means the toast can be disabled for modal responses without suppressing the modal interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100