wireui
wireui copied to clipboard
Bug in 'yesterday' 'today' button in datepicker component
Describe the bug :min date is tomorrow, but upper button (yesterday, today) will make current day and yesterday possible to pick
To Reproduce Steps to reproduce the behavior:
- Declare :min="now()->addDays(1)"
- Click either 'yesterday' or 'today' button
- See error
Expected behavior Yesterday, and today button cannot be clicked, when it's not within date range
Screenshots or Videos

Dependencies
- WireUI Version: 1.17
- Laravel Version: 9.19
- Alpine.js Version: 3.0.6
- Livewire Version: 2.5
- Lang: JP