Releationship doesn't seem to work in Filter

Hey, On a page with OrderItems I am trying to add a filter with suppliers. An order has a supplier. So this doesn't work:
Tables\Filters\SelectFilter::make('order.supplier.name')
->relationship('order', 'supplier.name')
Tables\Filters\SelectFilter::make('order.supplier.name')
->relationship('order', 'supplier.name')
It gives me an Alpine error as in the screenshot. Any suggestions?
No description
2 Replies
JJSanders
JJSandersOP12mo ago
The filters actually work, however the the errors in the console are not gone
JJSanders
JJSandersOP12mo ago
I thought it is maybe related to : https://github.com/filamentphp/filament/issues/10185
GitHub
Demo Repo Errors in Console? · Issue #10185 · filamentphp/filament
Package filament/tables Package Version Demo Version Laravel Version Demo Version Livewire Version No response PHP Version Demo PHP Version Problem description I have searched in the repo and canno...
Want results from more Discord servers?
Add your server