Skip to content
New issue

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

[BUG] - Using Selects breaks my app #4925

Open
jappyjan opened this issue Feb 24, 2025 · 4 comments
Open

[BUG] - Using Selects breaks my app #4925

jappyjan opened this issue Feb 24, 2025 · 4 comments

Comments

@jappyjan
Copy link

HeroUI Version

2.7.2

Describe the bug

As soon as a select (WITH selectItems inside) is visible, my page breaks.

I attached the browser consoles log
Important error starts with "@heroui_react.js?v=afaff063:2042 Uncaught Error: Unknown element <[object Object]> in collection."

select-bug.log

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Add a heroui component. -> page works Add a heroui component inside -> page breaks Expected behavior It shows a select with the select items inside Screenshots or Videos No response Operating System Version macOS 15.4 Beta (24E5206s) Browser Chrome

Copy link

linear bot commented Feb 24, 2025

@jprosevear
Copy link

This looks like you are assing something incorrectly in the items prop; what code are using for the select?

@jprosevear
Copy link

See also #4917

@wingkwong
Copy link
Member

please share the minimal reproducible environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants