Render Autocomplete/ListBox with nested items #3700
Unanswered
J4v4Scr1pt
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to render a AutoComplete where the items can be nested at any number of depth.
But the list just become a big mess. Tried writing different recursive methods, but no luck.
Because you need a AutocompleteItem, but an AutocompleteItem can't be displayed inside if another AutocompleteItem. For obvious reasons that's the case ofc. and its here some where I get lost.
This is my POC of the render method:
Anyone tried to show a nested list in a Autocomplete or a listbox?
This is an example of the nested data list I want to show:
Beta Was this translation helpful? Give feedback.
All reactions