nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.6k stars 1.41k forks source link

[BUG] - Date range picker gives aria label warning even when labelled #2804

Closed markwilson closed 5 months ago

markwilson commented 5 months ago

NextUI Version

2.3.5

Describe the bug

Using the date range picker (a great new addition!) causes lots of aria warnings.

Monosnap trippix 2024-04-19 09-04-23

Your Example Website or App

<DateRangePicker
  key={index} // I'm looping over a bunch of planned date ranges
  label="Dates"
  value={{ start: plan.dates.start, end: plan.dates.end }}
  isRequired
/>

Steps to Reproduce the Bug or Issue

  1. Use the DateRangePicker (even with a label)

Expected behavior

There shouldn't be any warnings, but there are. You can see them on the DateRangePicker docs page.

Screenshots or Videos

Monosnap trippix 2024-04-19 09-04-23

Operating System Version

macOS

Browser

Chrome

linear[bot] commented 5 months ago

ENG-680 [BUG] - Date range picker gives aria label warning even when labelled