DanielvdSpoel
DanielvdSpoel
FFilament
Created by DanielvdSpoel on 6/8/2024 in #❓┊help
Eager loading relationships in table
your a genius! send some money on paypal
14 replies
FFilament
Created by DanielvdSpoel on 6/8/2024 in #❓┊help
Eager loading relationships in table
Bumb, can provide bounty of $10 dollars if solved
14 replies
FFilament
Created by DanielvdSpoel on 6/8/2024 in #❓┊help
Eager loading relationships in table
don't think that fixes anything? https://flareapp.io/share/A7E8rdBP
return $table
->columns([
Tables\Columns\TextColumn::make('last_name')
->label(__('labels.name'))
->getStateUsing(fn(Volunteer $record) => $record->person->fullName())
->sortable()
->searchable(['people.first_name', 'people.middle_name', 'people.last_name']),
Tables\Columns\TextColumn::make('person.email')
->label(__('labels.email'))
->sortable()
->searchable(),
Tables\Columns\TextColumn::make('function')
->label(__('labels.function'))
->sortable()
->searchable(),
])
->modifyQueryUsing(fn(Builder $query) => $query->with('person'))
return $table
->columns([
Tables\Columns\TextColumn::make('last_name')
->label(__('labels.name'))
->getStateUsing(fn(Volunteer $record) => $record->person->fullName())
->sortable()
->searchable(['people.first_name', 'people.middle_name', 'people.last_name']),
Tables\Columns\TextColumn::make('person.email')
->label(__('labels.email'))
->sortable()
->searchable(),
Tables\Columns\TextColumn::make('function')
->label(__('labels.function'))
->sortable()
->searchable(),
])
->modifyQueryUsing(fn(Builder $query) => $query->with('person'))
14 replies
FFilament
Created by DanielvdSpoel on 6/8/2024 in #❓┊help
Eager loading relationships in table
Going to have to check, but your propably right
14 replies
FFilament
Created by DanielvdSpoel on 6/8/2024 in #❓┊help
Eager loading relationships in table
Oh my 😂
14 replies
FFilament
Created by DanielvdSpoel on 6/8/2024 in #❓┊help
Eager loading relationships in table
14 replies
FFilament
Created by DanielvdSpoel on 5/18/2024 in #❓┊help
Filament::getTenant() has no such method
Amazing thanks!
5 replies
FFilament
Created by DanielvdSpoel on 1/12/2024 in #❓┊help
Multi select relationship complaining about json?
Bumb
3 replies
FFilament
Created by hannes on 1/12/2024 in #❓┊help
Error installing the filament
please don't mass tag people
17 replies
FFilament
Created by hannes on 1/12/2024 in #❓┊help
Error installing the filament
you can try puting a dd in the provider to see if it get's called
17 replies
FFilament
Created by hannes on 1/12/2024 in #❓┊help
Error installing the filament
i only saw the initial message, no clue then
17 replies
FFilament
Created by hannes on 1/12/2024 in #❓┊help
Error installing the filament
it's only warning you that it might fail, not that it failed
17 replies
FFilament
Created by DanielvdSpoel on 1/5/2024 in #❓┊help
500 error on production
reinstalling everything (deleting vendor) worked
5 replies
FFilament
Created by DanielvdSpoel on 1/5/2024 in #❓┊help
500 error on production
it also seems i have a buch of duplicated classes
5 replies
FFilament
Created by DanielvdSpoel on 1/5/2024 in #❓┊help
500 error on production
filament upgrade also didn't do anything
5 replies
FFilament
Created by Soundmit on 12/21/2023 in #❓┊help
Moving resource in a new panel
Propably best to ask in the #shield channel
3 replies
FFilament
Created by DanielvdSpoel on 11/13/2023 in #❓┊help
Select required validations fails while it's set?
hmm, i guess that would work
18 replies
FFilament
Created by DanielvdSpoel on 11/13/2023 in #❓┊help
Select required validations fails while it's set?
but i do want them to work
18 replies
FFilament
Created by DanielvdSpoel on 11/13/2023 in #❓┊help
Select required validations fails while it's set?
which is fine, like i can go without the auto fill for certain feelds
18 replies
FFilament
Created by DanielvdSpoel on 11/13/2023 in #❓┊help
Select required validations fails while it's set?
yeah so that's not working, propably becouse the fields aren't defined when fill is executed
18 replies