What happened?
I cannot change my minDate or maxDate based on another field
How to reproduce the bug
When using this the minDate of end_date wont be updated.
Flatpickr::make('start_date')
->live(),
Flatpickr::make('end_date')
->minDate(fn ($state, Get $get) => $get('start_date')),
Package Version
4.0.1
PHP Version
8.2
Laravel Version
11.9
Which operating systems does with happen with?
No response
Notes
The minDate function is triggered when i change my start_date but the datepicker is not re-rendered, thats why the minDate is not applied to the front-end
What happened?
I cannot change my minDate or maxDate based on another field
How to reproduce the bug
When using this the minDate of
end_datewont be updated.Package Version
4.0.1
PHP Version
8.2
Laravel Version
11.9
Which operating systems does with happen with?
No response
Notes
The minDate function is triggered when i change my
start_datebut the datepicker is not re-rendered, thats why the minDate is not applied to the front-end