Table summary not working for accessors
Hello
I try to build a summary for an accessor, which counts an amount of a hasMany relationship.
this works as expected, but when I add the summary:
this breaks because totalValue doesn't exist as a column.
PK
Povilas K•17d ago
Maybe try custom summaries repeating the same condition as in the accessor: https://filamentphp.com/docs/3.x/tables/summaries#custom-summaries
Not convenient, but should work.
Filament is a collection of beautiful full-stack components for Laravel.You can get help using it on our Discord.
15KMembers
View on DiscordWant results from more Discord servers?
More Postsnumeric() function casts represents number with comma and not with dotI don't know why but the numeric function casts somehow the dot notation to comma representation.
MaCombining preloaded options and search results in Forms\Components\SelectGood day, everyone! I would like to improve user experience with choosing a client from a list in a Current model in RepeatableEntryHow do I get the current model in a RepeatableEntry so I can use it in url()?how can i add requiresConfirmation when creating recordsi have trid this ```php
protected function getCreateFormAction(): Action
{
return ActionUploading new image to a prefilled spatie media file upload not working in custom page with formsI have a custom page with forms. I have multiple file inputs. The file inputs successfully shows theSelect::selectablePlaceholder(false) not working with relationshipsI have the following select component, which correctly displays as a list of the user's leads, with