F
Filament2w ago
idk

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
idk
idkOP2w ago
Thanks! But how would it work in a form? public function filtersForm(Form $form): Form { return $form->schema([ Section::make('Filtres')->schema([ //DatePicker //DatePicker2 ]) ]); }
awcodes
awcodes2w ago
You still apply it on the table.
idk
idkOP2w ago
Oh, true!! Got it. Tysm 🙂 I couldnt manage to get it work with my stats overview widget. Dont know how should I do it.
awcodes
awcodes2w ago
Never had to do it myself, so not 💯 sure. Sorry.

Did you find this page helpful?