Philipp Bürger
Philipp Bürger
FFilament
Created by Philipp Bürger on 11/5/2024 in #❓┊help
Resource with tabs wrong model in edit action
Hey I have a relationmanager with 3 tabs for filtering the relation table. What I noticed is, when I'm selecting a tab and select a model to edit, the edit action receives the wrong model. I think this is maybe a bug with a wire:key? On the initial page reload (in the first tab) everything works fine.
2 replies
FFilament
Created by Philipp Bürger on 6/17/2024 in #❓┊help
Alpine sort plugin on custom page
Hi I'm trying to use the alpine sort plugin on a custom page, but the console says "Alpine Warning: found "[x-sort]", but missing sort plugin". Shouldn't be all alpine plugins included by default is livewire is running?
11 replies
FFilament
Created by Philipp Bürger on 4/16/2024 in #❓┊help
Passing record to resource create page
Hey! I'am trying the following: I want to pass a record to the create page of a resource. I do this by customize the create entry in the getPages(). In the action where I link to the create page i pass the model. To this point everything works fine. But now I want to resolve the passed model and prefill some of the fields in the create form. Any ideas how I can achieve this?
5 replies
FFilament
Created by Philipp Bürger on 6/15/2023 in #❓┊help
Access state of other field outside of repeater
Hi I'm using a closure to set the options of a select field inside a repeater element. For this I need the value of a field outside of the repeater. But I seems that I can only access the values inside of the repeater element itself
Select::make('icon')
->options(fn (Closure $get) => config('icons.'.$get('value-outside-of-
repeater')))
->required(),
Select::make('icon')
->options(fn (Closure $get) => config('icons.'.$get('value-outside-of-
repeater')))
->required(),
Do I need to pass another parameter to access the value?
5 replies
FFilament
Created by Philipp Bürger on 6/12/2023 in #❓┊help
Issue with TextInputColumn
Hey all, the TextInputColumn is updating the model in the database, but stays disabled after saving. When I look in the browser console, I see that the request for updating the model is running in a timeout. Any idea why?
30 replies