Is there a recommended way to render an unselectable static list box item that only performs an action? #9969
markjaniczak
started this conversation in
General
Replies: 1 comment
-
|
I think you'd be better served with a ComboBox. See this example https://react-aria.adobe.com/ComboBox#item-actions |
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.
-
I have a use case that looks something like this:
The items are typically a dynamic list that comes from an API. The create option is used by consumers to display a form to create a new option with the same API. I'm finding a couple of problems with this:
disableSelectionprop or the ability to prevent a change event on the item.Is there a better approach that can be taken here or should I use a different kind of component?
Beta Was this translation helpful? Give feedback.
All reactions