Becker Maxime
Action update a component
Is it possible to update a component after an action?
example :
EditRecord.php getHeaderActions(): Resource.php form(): I'd like my buttons to appear when I update my selection without having to reload the page. Is this possible?
EditRecord.php getHeaderActions(): Resource.php form(): I'd like my buttons to appear when I update my selection without having to reload the page. Is this possible?
2 replies
Repeater pivot
Hi, I'm having a problem with the repeater.
My problem: I've created a pivot table but I don't understand why it doesn't go into the pivot table but into the artist table, so it creates a new artist for me every time I add it, when my aim is for it to register only in my pivot table.
7 replies
Error configure.php
I'd like to create a filament plugin, I've retrieved the "Filament Plugin Skeleton" template, but I get an error when I type php./configure.php
PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/beckerm/Projects/customers-management/configure.php on line 139
13 replies
Table query from api
Is it possible to use the getTableQuery function via an api ?
I use a mongoDB database but the laravelMongo extension is no longer maintained (laravel 9) so I was thinking of using a node.js proxy to make the connection between the laravel and the mongo. Is this possible ?
5 replies
Select multiple getSearchResultsUsing()
Hello, I have a problem when searching on a multiple select when I run it, it changes the intutile of the options by the ids and not the names.
Select::make('skills')->required()->multiple()->searchable()->getSearchResultsUsing(fn(string $search) => AlternativeOccupation::where('name', 'like', "{$search}%")->limit(50)->pluck('name', 'id'))->getOptionLabelUsing(fn($value): ?string => AlternativeOccupation::find($value)?->name),
6 replies