Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

priyalaks's avatar

Failed Messages in Laravel Nova Action

How do we return a Failure Message in Laravel Nova Action - Handle function.

return Action::message('Menu has been synced with API Engine'.$response);
0 likes
1 reply
shankarnewton's avatar
Level 1

Did you mean this?

     return Action::danger('Something went wrong!');      
1 like

Please or to participate in this conversation.