Struggling with SelectFilter with relationship() and distinct status (Enum)
Hi guys ! I want to make a filter or the
abacus_status
in my users
table but this status is in another table user_details
, linked to the users via the details()
relationship. What is wrong in my code ?
ERROR : Object of class App\Enums\Users\AbacusStatusEnum could not be converted to string
1 Reply
I foud similar issues (https://github.com/filamentphp/filament/issues/12948 + https://github.com/filamentphp/filament/issues/10086), and I finally used a custom filter :
GitHub
Table filter using a select on a relationship with a column based o...
Package filament/filament Package Version v3.2.82 Laravel Version v11.8.0 Livewire Version 3.5.0 PHP Version PHP 8.2.0 Problem description I get this error: Filament\Forms\Components\Select::isOpti...
GitHub
Issues · filamentphp/filament
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - Issues · filamentphp/filament