form button management

How can I remove the orange button from the form? and how can I recall the data deriving from the query in the view?
4 Replies
Matthew
Matthew16mo ago
Can you please share the whole code? I want to get a better idea of what's going on
malebestia.
malebestia.OP16mo ago
I would like to create an action modal, which in fact opens a modal with only an information blade inside, without a form. in this blade I would like to be able to manage the data that is obtained from my query. i was trying to follow this link https://filamentphp.com/docs/2.x/admin/pages/actions#custom-content but - I don't understand how to recall the obtained data in the blade - I don't understand how to remove one of the two buttons (save) that are by default on the form
Kleis
Kleis16mo ago
Something like >modalContent(function(MyModel $record) { return view('filament.pages.actions.advance', ['record'=>$record]);) There is functions on v3 to hide the modal buttons, not sure if it's available in v2. https://filamentphp.com/docs/3.x/actions/modals#removing-a-default-modal-footer-action-button
malebestia.
malebestia.OP16mo ago
yes, good advice and to leave only the cancel button?
Want results from more Discord servers?
Add your server