Skip to content

necessityIndicator and contextualHelp props are missing in DateRangePicker from react-aria-components #6946

Answered by reidbarber
upender7270 asked this question in Q&A
Discussion options

You must be logged in to vote

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 on isRequired.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@upender7270
Comment options

Answer selected by reidbarber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants