wireui icon indicating copy to clipboard operation
wireui copied to clipboard

Bug in 'yesterday' 'today' button in datepicker component

Open blockhunts opened this issue 2 years ago • 0 comments

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:

  1. Declare :min="now()->addDays(1)"
  2. Click either 'yesterday' or 'today' button
  3. See error

Expected behavior Yesterday, and today button cannot be clicked, when it's not within date range

Screenshots or Videos image

Dependencies

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

blockhunts avatar Feb 07 '23 04:02 blockhunts