DatePicker behaviour
Hello,
I have some DatePicker filters on my Filament page. Currently, the filters automatically refresh the page content (charts, tables, etc.) whenever a change is made. Is there a way to prevent this auto-refresh and only update the content after clicking an “Apply Filters” button? Thank you!
6 Replies
Thanks! But how would it work in a form?
public function filtersForm(Form $form): Form
{
return $form->schema([
Section::make('Filtres')->schema([
//DatePicker
//DatePicker2
])
]);
}
You still apply it on the table.
Oh, true!! Got it. Tysm 🙂
I couldnt manage to get it work with my stats overview widget. Dont know how should I do it.
Never had to do it myself, so not 💯 sure. Sorry.