add date filter in widget

No description
3 Replies
gigiloouu
gigiloouuOP3mo ago
I want date filter in my widget like this i try to use this code
protected function getFormSchema(): array
{
return [
DatePicker::make('date_start')
->default(now()->subMonth()),
DatePicker::make('date_end')
->default(now()),
];
}
protected function getFormSchema(): array
{
return [
DatePicker::make('date_start')
->default(now()->subMonth()),
DatePicker::make('date_end')
->default(now()),
];
}
but its odest works
gigiloouu
gigiloouuOP3mo ago
this is my code
Want results from more Discord servers?
Add your server