I'm trying to conditionally render accordion Items and if there are multiple Accordion items in 1 condition, I need to wrap them inside <> </>, I saw this post with a similar problem to dropdown menu https://discord.com/channels/856545348885676062/1254490060363923527 . Is there a similar way to bypass the error on the accordion component?
#Accordion TypeError: Cannot convert a Symbol value to a string
7 messages · Page 1 of 1 (latest)
you can make the hidden element instead of null
what do you mean by hidden element?
like AccordionItem but hidden
because u need at least one child in Accordion
with a condition, it is possible to have 0 children so it s not allowed
how will I make a hidden element? I dont quite get you :/