gluestack

gluestack Logogluestack

Custom Select Options

script4559 posted this in #support
Open in Discord
Avatar
script4559OP
Im making use of GlueStack v2 and couldn't figure out how to make CustomOptions work.

The issue is the actionsheet wont close automatically when I select an option using.

I also tried wrapping the <SelectItem> around the custom component, but SelectItem doesnt render children.

My current implementation:
if(item.custom)
return <CustomSelectItem />

return <SelectItem />

1 Reply