Questions tagged [laravel-filament]
143 questions
0
votes
1 answer
UUID's with Laravel and Filament gives incorrect edit url link
When you have an entity that uses a UUID as it's primary key, Filament will be able to generate a new entity for you but when clicking on the edit button, it directs you to the wrong url which results in a 404.
For example imagine having an entity…

LaurentMe
- 3
- 2
0
votes
1 answer
How can I add some spacing between fields with Laravel filament?
I'm just learning Laravel filament and I'm enjoying the experience so far. I managed to build a settings page with some fields with the help of the documentation. But now I want to add some spacing between these fields. I was thinking of inserting a…

Toni Joe
- 7,715
- 12
- 50
- 69
0
votes
1 answer
Class name must be a valid object or a string - filamentphp form action
Getting this error when setting a label for the Create button on the form
Class name must be a valid object or a string
Here is my code that produces the error
protected function getCreateFormAction(): Action
{
return…

StealthTrails
- 2,281
- 8
- 43
- 67
0
votes
0 answers
Listing Nested Resources in Filament Admin
I'm working with Laravel, Filament Admin panel, and staudenmeir/laravel-adjacency-list.
I'm struggling to bring this nested tree structure into the CategoryResource List table through getEloquentQuery() properly.
I have a resource (Categories) which…

Curtis B
- 1
- 1
0
votes
0 answers
Reverse BelongsToMany relationship subquery fails to filter properly
getRelationExistenceQueryForSelfJoin() issued by a Filament Resource is returning always a collection of all possible records, due to possibly some problem in the AND NOT EXISTS subquery performed in the same table. So far the relationship is known…

KONEY
- 73
- 6
0
votes
0 answers
Why autoupdate with filamentphp does not work in some cases?
Working with laravel 9 / filament": "^2.17.17 app I use
npm run dev command in root project, so all my changes I made in PhpStorm are applied in my browser (Chrome Version 110 under kubuntu 20.04 ) without browser page reloading.
But this mode does…

Petro Gromovo
- 1,755
- 5
- 33
- 91
0
votes
0 answers
How in RelationManager in view only mode to hide “Save changes” button
On laravel 9 filamenphp site I use RelationManager in view only and I want to hide “Save changes” button in RelationManager.
How can I do it ?
"filament/filament": "^2.17.17",
"filament/forms": "^2.17.17",
"laravel/framework": "^9.52.4",
Thanks in…

Petro Gromovo
- 1,755
- 5
- 33
- 91
0
votes
0 answers
How to pass id parameter in custom field from RelationManager listing?
Working with laravel 9 / filament": "^2.17.17 app I use RelationManager I want to show only some disabled fields(as Banner editor is rather big) , like :
and I want to set custom field with url to Banner editor (with target="_blank") from…

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
2 answers
ComponentNotFoundException: Unable to find component using Filament PHP plugin
I am using Filament PHP and created a resource named UserResource. This resource is registered in the ServiceProvider of my Filament plugin:
namespace musa11971\MyPlugin;
use Filament\PluginServiceProvider;
use…

Musa
- 406
- 3
- 11
0
votes
1 answer
How to add pusher parameters into my laravel / filamentphp app?
I want to add pusher parameters into my laravel 9 / filament": "^2.17.17 app and reading docs:
https://filamentphp.com/docs/2.x/admin/notifications#echo
I see some parameters used in config/filament.php file.
I am confused which parameters have I to…

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
1 answer
How to make editor with filament/spatie-laravel-translatable-plugin
Looking at https://filamentphp.com/docs/2.x/spatie-laravel-translatable-plugin/getting-started
docs I added filament/spatie-laravel-translatable-plugin ^2.17.17 into laravel 9 app with filament/filament 2.17.17
"filament/tables": "^2.17.17" and…

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
0 answers
Filament Dependent Field (DateTime field)
I am building a seat reservation system for a small company. im using filament and laravel for this project. im using filament resource for this project. basically i am stuck at booking reservation form.
in my form i have couple of fields
select…

Hussu
- 1
0
votes
0 answers
Filament\Forms\Components\Select::searchable(): Argument #1 ($condition) must be of type Closure|array|bool, null given,
resolve(name: PrincipalDependantWrapper::class)
->relationship(
fn (callable $get, PrincipalBuilder $query) => $query
->whereRelation(
relation: 'warehouses',
column: 'warehouse_id',
…

Seewpeng Nea
- 37
- 6
0
votes
1 answer
Laravel Filament: Send notification to the assigned user
I installed a plugin in filament called "Ticketing": https://filamentphp.com/plugins/ticketing
filament has a method called afterCreate(), that's where I usually implement the notifications API, just as Filament docs mention:…

Abdulrahman Mushref
- 1,012
- 2
- 18
- 40
0
votes
0 answers
Integrating wire-elements/modal with laravel-filament admin panel
I've tried integrating wire-elements/modal with the filamentphp admin package exactly as the example in the docs. But when I add the example code into my serviceprovider the /admin and all subroutes return a 404. I've Installed wire-elements/modal…

Zer.re
- 1
- 2