Possible Non-empty state ▶️ empty state combobox bug #3856
Replies: 5 comments 6 replies
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. I did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
-
This is the code I am using for these boxes:
|
Beta Was this translation helpful? Give feedback.
-
I attempted the AI chat bot response help but I still need help with this issue |
Beta Was this translation helpful? Give feedback.
-
@brianhumphreys Could you make a minimal reproduction on Codesandbox please? I'm having a hard time understanding the flow here. At a glance, if I somewhat understood, you may either be fighting controlled vs uncontrolled inputs or you may need to add a |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hey folks 👋 I'm currently having an issue with combo boxes. I have a situation where a single select combo box with a selected item can change state from a non-empty state to an empty state without user input. This happens when I have a list of combo box selections and the last one is empty and I delete one of the rows above the empty combo box. Ideally, in this case, the 3rd combo box would unmount and the second would assume the empty state. Of course this is happening as a result of external (non-user) interactions from the 2nd combo-box's perspective. The result I am currently seeing is that the state of the combo box is indeed empty (
selectedItem
is null andinputValue
is empty string), but the text in the combobox is still showing the text that was present before the state changed. I have tried everything I can from a paste-user perspective, I am wondering if this is possibly a bug within paste?Beta Was this translation helpful? Give feedback.
All reactions