react-spectrum
510a7dd0 - Get rid of dupe id in DatePicker/useDatePicker (#4085)

Commit
2 years ago
Get rid of dupe id in DatePicker/useDatePicker (#4085) * Getting rid of duplicated id present in presentational element * generate a separate id instead to avoid useField complaining in useDateField a date field in a datepicker/rangepicker gets the field props removed from it, but we still need to call useField in useDateField which will complain that there isnt a aria labelledby so we still need to pass the field props
Author
Parents
Loading