9

I'm using React Native's TextInput. I noticed that enablesReturnKeyAutomatically makes the keyboard's return key disabled until some text is entered. Is there a way to control the disabled state of the return key myself?

0

1 Answer 1

5

Not at this time - This attribute maps directly into a UIKit attribute:

https://developer.apple.com/documentation/uikit/uitextinputtraits/1624432-enablesreturnkeyautomatically

I couldn't find any particular hooks in this API to manually manage the enabled/disabled state of the submit button either.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.