Closed ManojKiranA closed 2 years ago
Hey, please use query()
instead of apply()
to set the callback. Are the docs wrong?
I am not sure that issue is in docs or method signature 😕
Hey, please use
query()
instead ofapply()
to set the callback. Are the docs wrong?
Just now figured it out
Shall I send pr to Docs with change
Yes please, I can't see where they're incorrect though?
Package
filament/filament
Package Version
2.x-dev
Laravel Version
8.65
Livewire Version
Not needed
PHP Version
8.0.12
Bug description
After creating the resource when i try to Create a filter I am getting the following error
I think the problem is apply Method of
InteractsWithTableQuery
trait will only accept instance ofIlluminate\Database\Eloquent\Builder
Steps to reproduce
Relevant log output