Set first and last day of month in DatePicker
I'm having difficulty setting a start and end date for the current month in the datepicker on a custom page, I'd appreciate any help if possible.
4 Replies
Solution
tks @Saade but not work , datepicker not receive value $this->form->fill([
'dataInicio' => '2024-02-01'
'dataFim' => '2024-02-29'
]);
Remove the ->default() from the field, and add ->format()
tks @Saade work fine!