gluestack

gluestack Logogluestack

select not controlled by isOpen

dizi8303 posted this in #support
Open in Discord
Avatar
dizi8303OP
Good afternoon, how can I control the Select's isOpen state, for example, through some external component?
I tried, but apparently it doesn’t work this way:

const inputRef = useRef<any>(null); const [isSelectOpen, setIsSelectOpen] = useState(false); <Select className="bg-background-50" isOpen={isSelectOpen} >

1 Reply