Adding actions modal on getHeaderActions
I have some issue when doing this, when i adding Action modals on ViewPage at getHeaderActions()
the modal did not showing, and when i click the action button, some components being buggy(gone), did i missed something?
5 Replies
Maybe because you don’t return an array for your getHeaderActions function 😄
here is error from console
sorry i missed the array for that example 🤣
Is it a custom view for the ViewPage ?
Maybe missing <x-filament-actions::modals /> in view and check if you have the InteractsWithActions trait.
Im use ViewRecord, would it be better if i changed it to custom view or custom page?
Strange. Could you please share you ViewPage code and view if customized