Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
juliangums opened this issue Jul 25, 2024 · 4 comments

Comments

@juliangums
Copy link
Contributor

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.

@juliangums
Copy link
Contributor Author

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

@juliangums
Copy link
Contributor Author

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

@juliangums
Copy link
Contributor Author

Created a PR to remove it #109

@malzariey
Copy link
Owner

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants