-
Notifications
You must be signed in to change notification settings - Fork 34
Closed as not planned
Description
- Laravel Version: 9.38.0
- Nova Version: 4.18.2
- PHP Version: 8.1.11
Description:
filterable() doesn't work with Status fields.
Detailed steps to reproduce the issue on a fresh Nova installation:
While using filterable() method in a Status field, it returns the error:
"$filterable needs to be callable/closure"
Haven't found anything about this issue, either in the docs. For my understanding filterable() should work on any kind of field.
Status::make('Status')
->loadingWhen(['pending',])
->failedWhen(['failed',])->filterable(),
Is still possible to create a custom filter and use that to filter it, that works. Only the filterable() doesnt work.
Metadata
Metadata
Assignees
Labels
No labels