Kleis
form button management
Something like
>modalContent(function(MyModel $record) { return view('filament.pages.actions.advance', ['record'=>$record]);)
There is functions on v3 to hide the modal buttons, not sure if it's available in v2.
https://filamentphp.com/docs/3.x/actions/modals#removing-a-default-modal-footer-action-button
7 replies
File upload not showing after reload
The path looks ok, except for the added forward slash, no?
photos: "["apartments/A/photos//Peugeot_e-208_dynamic_front34.jpg"]",
semweb@dedi5139:~/public_html/demo$ ls public/storage/apartments/A/photos/
Peugeot_e-208_dynamic_front34.jpg
7 replies
How to access current model in custom view page
Just tried, but its null :/ I am guessing it gets lost somewhere along the way.
ApartmentResource has a view route : 'view' => Pages\ViewApartment::route('/{record}'),
That route includes the component : @livewire('View-apartment')
That component shows the table : {{ $this->table }}
Which is defied in the livewire component
🫣
6 replies
How to start theme
There is fi- css classes that you can override
https://beta.filamentphp.com/docs/3.x/support/style-customization
9 replies