Listbox: <Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a textValue
prop.
#2394
-
I really need some help with this. I'm using NextUI Pro and the SideBar component. But when I list my menu items I get a lot of errors as show in the title. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
make sure you are passing an aria-label prop to the components that you are using, it usually hapopens with dropdwon, dropwdwonsection etc.. |
Beta Was this translation helpful? Give feedback.
-
I had exactly the same issue, and the answer is very simple DO NOT ERASE
// you can change the string but not the prop, with this I hadn't the same issue again |
Beta Was this translation helpful? Give feedback.
make sure you are passing an aria-label prop to the components that you are using, it usually hapopens with dropdwon, dropwdwonsection etc..