Thou Blue
Thou Blue
Explore posts from servers
FFilament
Created by Thou Blue on 8/9/2024 in #❓┊help
How to get selected filters in filtersApplyAction?
I got the work around for this: ->filtersApplyAction( fn (Action $action) => $action ->button() ->url(function (Table $table) { $filters = $table->getFilters()['dependent_filters']->getState(); // this gets all selected filters // handle to save these filters on the localStorage }) ->label('Search'), ) ->filtersApplyAction( fn (Action $action) => $action ->button() ->url(function ($livewire) { $filters = $livewire->tableFilters['dependent_filters']; // this gets all selected filters // handle to save these filters on the localStorage }) ->label('Search'), ) Both of these work
6 replies
FFilament
Created by code jam on 10/18/2023 in #❓┊help
how to persist filters beyond the session?
@code jam Did you find the work around for this?
3 replies
FFilament
Created by Thou Blue on 4/16/2024 in #❓┊help
Is there a way to upload file and saving it to database without having to submit the form?
Yes, That's what I did.
8 replies
FFilament
Created by Thou Blue on 4/16/2024 in #❓┊help
Is there a way to upload file and saving it to database without having to submit the form?
Still working around it.
8 replies
FFilament
Created by Thou Blue on 4/16/2024 in #❓┊help
Is there a way to upload file and saving it to database without having to submit the form?
I tried using afterStateUpdated, but with multiple files, there was some issue so had to search another way to do so. What happened was, when I uploaded 3 files, 6 files were saved in db.
8 replies