Answers for "next field"

0

next field

<TextInput
  placeholder="First Name"
  returnKeyType="next"
  onSubmitEditing={() => {
    lastNameRef.current.focus();
  }}
  blurOnSubmit={false}
/>
Posted by: Guest on July-18-2021
0

next field

const lastNameRef = useRef();

<TextInput placeholder="Last Name" ref={lastNameRef} />;
Posted by: Guest on July-18-2021

Browse Popular Code Answers by Language