Skip to content

Focus Input for the wrapper? #5562

Discussion options

You must be logged in to vote

You can use the data attributes already on the TextField, no need to add new ones. Then you can just target elements inside like usual.

You can check out these sections in the docs for more info https://react-spectrum.adobe.com/react-aria/styling.html#states and https://react-spectrum.adobe.com/react-aria/TextField.html#styling

You can also check out the css for any of the examples just below the example.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by alekseykurylev
Comment options

You must be logged in to vote
4 replies
@yihuiliao
Comment options

@snowystinger
Comment options

@mehdibha
Comment options

@snowystinger
Comment options

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