BBB
open_basedir restriction in effect : FileUpload::make('attachment')
Hello,
I've been having an issue for several days now...
When I perform a "simple" upload directly via Request, I have no problems:
However, when I use Filament, it doesn't work...
open_basedir restriction in effect. file(/tmp) is not within the allowed pathupload_tmp_dir is set to /home/web1781/temp_uploads What should I do...? I've tried "everything"... Thank you so much.
2 replies
Customizing Data Insertion with Filament's Import Action
Hello,
Regarding the import: https://filamentphp.com/docs/3.x/actions/prebuilt-actions/import
Is it possible to manage the insertion oneself via a method? It seems this is not possible as it is for createRecord... Or am I mistaken?
Thank you in advance for your response,
Have a great day
2 replies
TextColumn N+1 official demo
Hi,
From official :
https://github.com/filamentphp/demo/blob/a940c5a2c26a2a943273c526127a90c03ced6567/app/Filament/Resources/Shop/CustomerResource.php#L86
Is it okay to do that? Won't it make a query for each row?
Thank you
2 replies
TextColumn BelongsToMany
Hello,
I have a question regarding TextColumn and accessing attributes from a BelongsToMany relationship.
Consider the following case (I've simplified it to get to the point) :
So, I can do this in Filament:
But not this:
My solution :
Is there a more elegant solution? Especially since in the above case, I'm forced to eager load the routes, otherwise, I'm in an n+1 situation.
Any help? Thanks in advance!
2 replies
Edit issue with package
Hi,
Package : laravel-translatable astrotomic
Using the mentioned package, the EditRecord has an issue during validation: it saves correctly in the database, but the old data is displayed.
I solved the problem by adding this:
Usually, I never encounter this problem, any ideas?
Thank you.
2 replies
Resources without Panel Builder ?
Hi,
I have form builder and table builder installed.
Inside my table builder I also have a form builder for editing.
Which makes my livewire component a bit long...
Is it possible to create a resource class in order to put the forms in it, a bit like Panel Builder - Resources?
Thanks in advance
5 replies