Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
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?
enablesReturnKeyAutomatically
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.
Add a comment
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.