Combobox not showing input value when using e defaultSelectedKey and autofocus #9387
Replies: 2 comments 1 reply
-
|
Thanks, it sounds like a bug. I created a reproduction here https://stackblitz.com/edit/j8e97chh?file=src%2FExample.tsx |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I'm going to close the discussion, the issue is here #9389 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I am using Combobox from react aria components and I am running into an issue (Uncontrolled component).
The issue is when I have the combobox on autofocus and I have a defaultSelected key, the input value is empty. When I blur out I can see the right input value for the default selected key.
When I remove the autofocus everything works as expected, on initial render I can see the default selected key with the right input value.
Am I missing something? Is this how it's supposed to be working or is it a bug?
Beta Was this translation helpful? Give feedback.
All reactions