We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.6.4
https://nextui.org/docs/components/listbox#dynamic-items https://react-spectrum.adobe.com/react-stately/collections.html#dynamic-collections
import { Listbox, ListboxItem, ListboxSection } from '@nextui-org/react' const items = [ { items: [{ name: 'David1' }, { name: 'Same1' }, { name: 'Jane1' }], name: 'Aardv888888888888ark' }, { items: [{ name: 'David2' }, { name: 'Same2' }, { name: 'Jane2' }], name: 'Kangaroo' }, { items: [{ name: 'David3' }, { name: 'Same3' }, { name: 'Jane3' }], name: 'Snake' } ].map((a, id) => ({ id, ...a })) export const Page = () => { return ( <Listbox aria-label='dd' items={items}> {section => ( <ListboxSection items={section.items} key={section.name} title={section.name}> {item => <ListboxItem key={item.name}>{item.name}</ListboxItem>} </ListboxSection> )} </Listbox> ) }
No response
123
456
Chrome
The text was updated successfully, but these errors were encountered:
ENG-1677 [BUG] - <Listbox dynamicCollections />
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
NextUI Version
2.6.4
Describe the bug
https://nextui.org/docs/components/listbox#dynamic-items
https://react-spectrum.adobe.com/react-stately/collections.html#dynamic-collections
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
123
Expected behavior
456
Screenshots or Videos
No response
Operating System Version
123
Browser
Chrome
The text was updated successfully, but these errors were encountered: