Aziz
JSON-Field in SelectFilter
Hey everyone,
i have a select filter and i want to display options from a relationship, but the complicated thing is that the column has json-attributes and i do not know how to display the json-attributes in the relationship function. Currently it looks like this, but does not work:
SelectFilter::make('company')
->label('Firma')
->relationship('subscriber', 'extra_attributes.company'),
Thanks.
2 replies
Distinct Values in a relationship filter
Hello everyone,
i have a select filter with a relationship. How can i distinct my values?
I tried it that way but it does not work:
SelectFilter::make('nationality')
->label('Nationalität')
->relationship('ifatEntry', 'nationality', fn (Builder $query) => $query->distinct())
]);
}
Thanks.
2 replies
Issue with Installing Advanced Tables Plugin on Windows
Hey everyone, I need some help from you. Our team purchased the Filament plugin AdvancedTables by Kenneth Sese. A colleague installed it on his Mac, and the installation worked perfectly. Unfortunately, that wasn't the case for me. I'm using Windows 11. The problem is as follows: The repo is already registered in the composer.json and the credentials are stored in the auth.json. As soon as I run a composer update, it aborts and throws the following error message: 'curl error 23 while downloading https://filament-filter-sets.composer.sh/download/XXX/advanced-tables-for-filament-3.7.4.zip: Failed writing received data to disk/application'.
Other private repos, which are hosted with satis, for example, can be installed without any issues.
I would be grateful for any help.
2 replies