Isak
Isak
FFilament
Created by Isak on 10/2/2024 in #❓┊help
function inside the: ->modalCloseButton()
Hi, I have a question. Is it possible to pass a function inside the ->modalCloseButton() when it is clicked? I wanted to do something like this:
->modalCloseButton(function () {
$this->dispatch('event');
})
->modalCloseButton(function () {
$this->dispatch('event');
})
this is just an example of how I wanted it; I know it doesn't work this way, but I wanted to see if there's any way to do it. I am opening the modal using: ->modalContent()
3 replies
FFilament
Created by Isak on 8/20/2024 in #❓┊help
Opening a modal with create
How can I open a modal through Filament standard create button? I need the modal to open for printing a label of a specific resource.
6 replies