BelongsToManyFilter

You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

Extends BelongsToMany * has the same features
use MoonShine\Filters\BelongsToManyFilter;
 
//...
 
public function filters(): array
{
return [
BelongsToManyFilter::make('Categories')
];
}
 
//...