-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Flux version
2.9.2
Livewire version
3
Tailwind version
4
Browser and Operating System
chrome on windows
What is the problem?
Calendar force-open-to flag doesn't work if multiple days are selected.
Code snippets to replicate the problem
livewire controller
public array $test_data = ['2000-01-01', '2000-01-02', '2000-01-03', '2000-01-04'];
livewire blade
<flux:calendar :months="4" force-open-to wire:model="test_data" multiple open-to="2025-12-06" static with-today />
Screenshots/ screen recordings of the problem
Removing multiple or having empty array for $test_data, opens calendar on open-to day. So I think it's a problem with having multiple days selected.
How do you expect it to work?
I have a list of pre-selected days on the calendar, but regardless those, I want calendar open to what's set on open-to day. Even more so if force-open-to is set.
Please confirm (incomplete submissions will not be addressed)
- I have provided easy and step-by-step instructions to reproduce the bug.
- I have provided code samples as text and NOT images.
- I understand my bug report will be closed if I haven't met the criteria above.
Metadata
Metadata
Assignees
Labels
No labels