Replies: 1 comment
-
The more I think of it, the more the question is becoming, "can you use both Options (via useOptions) and MenuItems (via useMenuItem) within the same tree state? The reason I want them in the same tree is to get the arrow key navigation to work out of the box. I would like a dropdown that has two sections: (1) a ListBox with a set of Options and (2) a Menu with a set of Actions/Menu Items. |
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
-
Hi all,
I am looking to implement a select field / menu hybrid. It would be a single dropdown element with two sections, (1) selectable options, and (2) actions.
The goal is to have a resulting ListBox built from the TreeState like the below.
I'd like the first TreeState section to have a selectionMode of "single" and the second TreeState section have a selectionMode of "none".
Is something like this possible?
Beta Was this translation helpful? Give feedback.
All reactions