grardb
grardb
FFilament
Created by grardb on 1/4/2025 in #❓┊help
Is it possible to send POST data with `MenuItem::postAction()`?
Route::post('locale', SetUserLocale::class)->name('locale.update');
Route::post('locale', SetUserLocale::class)->name('locale.update');
7 replies
FFilament
Created by grardb on 1/4/2025 in #❓┊help
Is it possible to send POST data with `MenuItem::postAction()`?
That adds it to the query params, but this is a POST 😕
7 replies
FFilament
Created by grardb on 12/31/2024 in #❓┊help
Dynamic `required()`/`visible()` within a Repeater
Thanks so much for your help 😁
12 replies
FFilament
Created by grardb on 12/31/2024 in #❓┊help
Dynamic `required()`/`visible()` within a Repeater
Oh, interesting idea!
12 replies
FFilament
Created by grardb on 12/31/2024 in #❓┊help
Dynamic `required()`/`visible()` within a Repeater
It's ultimately not the end of the world (a few extra queries for an admin panel). I just always like to keep DB queries to a minimum.
12 replies
FFilament
Created by grardb on 12/31/2024 in #❓┊help
Dynamic `required()`/`visible()` within a Repeater
Some of them - the others are outside the Repeater 😅
12 replies
FFilament
Created by grardb on 12/31/2024 in #❓┊help
Dynamic `required()`/`visible()` within a Repeater
@toeknee That worked! Thank you so much. I didn't know about this traversal stuff. Very cool. Follow-up question if you don't mind: There are actually a number of fields that rely on this Event, so I'm calling Event::find($get(...)) multiple times per update. Is there a way to reuse the model that's loaded within the Select to prevent these duplicate queries?
12 replies