gluestack

gluestack Logogluestack

InputField Ref error

rlee128 posted this in #support
Open in Discord
Avatar
rlee128OP
I keep receiving the below ref error when trying to add an input reference to switch focus on next pressed.
const usernameRef = useRef<TextInput>(null);

<InputField ref={usernameRef} onBlur={onBlur} value={value} type="text" placeholder="username" onChangeText={onChange} />

1 Reply