malzariey / filament-daterangepicker-filter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date range UI does not update when minDate, maxDate or disabledDates gets re-evaluated

juliangums opened this issue · comments

I am using closures in the ->minDate(), ->maxDate() and ->disabledDates() methods. If I use dd() inside of them I can see that they are re-evaluated when they should, but that does not seem to re-render the UI. Nothing changes there and they are still using the values from the first evaluation.

Looks like this is because you are using wire:ignore in the view

It works if I simply remove that. Any reason why it's there?

Created a PR to remove it #109

Thank you