Mateus
Mateus
FFilament
Created by Mateus on 10/9/2024 in #❓┊help
action button in topbar
Hi! I'm trying to put an action button on the topbar, but nothing is happening when I click on the action. My code is like this: Livewire component:
public function customAction(): Action
{
return Action::make('Buscar Pacote')
->requiresConfirmation()
->label('Custom Action')
->color('gray');
}
public function render()
{
return view('livewire.scan-action');
}
public function customAction(): Action
{
return Action::make('Buscar Pacote')
->requiresConfirmation()
->label('Custom Action')
->color('gray');
}
public function render()
{
return view('livewire.scan-action');
}
Hook on the panel provider:
return $panel
->renderHook(
PanelsRenderHook::GLOBAL_SEARCH_BEFORE,
fn (): string => Blade::render('@livewire(\'scan-action\')'),
)
return $panel
->renderHook(
PanelsRenderHook::GLOBAL_SEARCH_BEFORE,
fn (): string => Blade::render('@livewire(\'scan-action\')'),
)
13 replies
FFilament
Created by Mateus on 10/5/2024 in #❓┊help
Accordion on the table
Hi! Is there any way to add an accordion to the table, so that each item in the table has an accordion?
14 replies
FFilament
Created by Mateus on 9/19/2024 in #❓┊help
Implement actions made in livewire in the resource
Hi everyone, I was looking over https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component, and I wanted to know how I could implement my action made with the livewire class, in the actions of the table in the resource
6 replies
FFilament
Created by Mateus on 9/16/2024 in #❓┊help
Action that opens a modal, where there are buttons that take you to other modals
I'm working on a modal, where inside it there are 2 buttons that take you to different modals. I'm using extraModalFooterAction to make my buttons to open the modals, I managed to open them, but when I fill everything in both modals it's not saving my data, I used cancelParentActions but I realized that it literally cancels my entire previous action, what can I do?
6 replies
FFilament
Created by Mateus on 9/13/2024 in #❓┊help
Table repeater headers
No description
22 replies