malebestia.
livewire component with event in form
it seems solved, the cause seems that inside my livewire component MyComponent::class I had not imported the class use Livewire\Attributes\On;
used in the function
#[On('my_event')]
public function doSomething(string $rating_id): array
{
dd('ok');
//do something
}
4 replies
Method Konnco\FilamentImport\Actions\ImportAction::table does not exist
the plugin in question is
https://github.com/konnco/filament-import
11 replies
Method Modules\NameModule\Filament\Pages\DashboardOne::getColumnSpan does not exist.
in fact you are right, looking better I call it in the blade of the page, where in version 2 I had inserted
<x-filament-widgets::widget
:widgets="$this->getWidgets()"
:columns="$this->getColumns()"
/>
so I would say through the Widget.php class
5 replies
form button management
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
7 replies