necessityIndicator
and contextualHelp
props are missing in DateRangePicker from react-aria-components
#6946
-
I'm developing a date range picker using react-aria-components but we are missing is this expected? if so how can is add them to labelContext? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
These are features specific to Spectrum, so they aren't included in React Aria components by default, however you can add them to your own usage of React Aria components. For contextual help, just use a Dialog with Popover. For |
Beta Was this translation helpful? Give feedback.
These are features specific to Spectrum, so they aren't included in React Aria components by default, however you can add them to your own usage of React Aria components. For contextual help, just use a Dialog with Popover. For
necessityIndicator
, you can just add that prop and conditionally render text or an asterisk based onisRequired
.