josecaubivasconcelosjunior
Is it possible to customize table view files?
Hi Patrick.
I don't really intend to make global changes, but rather explore how the magic happens.
I'm in a safe environment, where my project is only intended to test the limitations that the filament may have and thus have a better idea of where and when I can really apply it, so I'm looking for alternatives that make it possible to test and break things to understand how they happen or at least part of them, in short, I'm having fun.
7 replies
Null state for table column
->formatStateUsing
Doesn't solve your problem?
https://filamentphp.com/docs/2.x/tables/columns/text#custom-formatting
7 replies
storeFileNamesIn not able to use original file name as label?
I understand.
I tried a lot to work on a change in the vendor files, it seems to me that the component that displays the captions of the files is Fieldset.php, its view structure is identical to the one presented in the browser inspection, but the presence or absence of it , does not seem to have any effect, even deleting all its content, nothing changes, unlike the changes made to the input file present in the FileUpload.php component
5 replies
storeFileNamesIn not able to use original file name as label?
I see, I believe it is an interesting resource to have as a complement to the storeFileNameL method.
It's not very nice to present a hash as a filename in the view.
5 replies
Dual display of notifications
Thank you for your reply friend.
I managed to solve it with $this->halt(), following the documentation
https://filamentphp.com/docs/2.x/admin/resources/editing-records
#Halting the saving process
6 replies
Observe form builder save and update actions
Recreating without using the --simple flag, just following the documentation recommendation
php artisan make:filament-resource Customer --generate
I was easily able to use
protected function afterCreate(): void
I was able to reuse all the codes already made for form and table.
Thank you for your help.
14 replies
Observe form builder save and update actions
The relationship part I managed to overcome the obstacles, what I need at the moment is very simple in theory.
I just want to identify a record action in the database and do extra actions similar to the notification feature of the filament.
For example, send an email after creating a record.
14 replies
Observe form builder save and update actions
I can understand, but I think I did something different than expected in creating the resources, I generated them as follows.
php artisan make:filament-resource Vehicle --generate --simple
I noticed that something similar to what you suggested was the 'ManageVehicle' file, which is in the path 'App\Filament\Resources\VehicleResource\Pages'
14 replies