SlideFilter

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

Extends Slide * has the same features
use MoonShine\Filters\SlideFilter;
 
//...
 
public function filters(): array
{
return [
SlideFilter::make('Age')
->fromField('age_from')
->toField('age_to')
->min(0)
->max(60)
];
}
 
//...