Skip to content

Conversation

Alex-Mann
Copy link

These controls should be left to the user using the component and not set with internal state. Using your own internal state does not allow the user to validate any input going into the component, ie cannot control maximum character length, types of characters allowed, etc.

Alex-Mann added 2 commits May 17, 2017 20:43
Let the user control the value and state of the TextInput as opposed to controlling it internally with component state.
Pass value and onChangeText down to TextInput
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant