Martin Bojmaliev
Martin Bojmaliev
FFilament
Created by Martin Bojmaliev on 2/20/2024 in #❓┊help
Using Spatie Translatable
And what if the the field has missing locale for the activeLocale ? It throws and error :/
7 replies
FFilament
Created by Martin Bojmaliev on 2/20/2024 in #❓┊help
Using Spatie Translatable
Thank you
7 replies
FFilament
Created by Martin Bojmaliev on 2/20/2024 in #❓┊help
Using Spatie Translatable
Oh ok, but shouldn’t work this out of the box?
7 replies
FFilament
Created by Martin Bojmaliev on 10/31/2023 in #❓┊help
Filter doesn't work when having `having` in the query
I solved it using:
Tables\Filters\Filter::make('is_blocked')
->label('Blocked users')
->query(fn (Builder $query) => $query->has('deviceTokens', '>=', DeviceToken::maxAllowedTokens) )
->toggle()
Tables\Filters\Filter::make('is_blocked')
->label('Blocked users')
->query(fn (Builder $query) => $query->has('deviceTokens', '>=', DeviceToken::maxAllowedTokens) )
->toggle()
4 replies