From 40dce004d0dd87da27107b3f221839bee232830c Mon Sep 17 00:00:00 2001
From: Travis CI
If false, text is not editable. The default value is true.
Determines which keyboard to open, e.g.numeric.
The following values work across platforms: - default - numeric -- email-address
If true, the text input can be multiple lines. +- email-address
Limits the maximum number of characters that can be entered. Use this +instead of implementing the logic in JS to avoid flicker.
If true, the text input can be multiple lines. The default value is false.
Callback that is called when the text input is blurred
Callback that is called when the text input's text changes.
Callback that is called when the text input's text changes. Changed text is passed as an argument to the callback handler.
Callback that is called when text input ends.
Callback that is called when the text input is focused
Invoked on mount and layout changes with {x, y, width, height}.
Callback that is called when the text input's submit button is pressed.
The string that will be rendered before text input has been entered
The text color of the placeholder string
If true, the text input obscures the text entered so that sensitive text like passwords stay secure. The default value is false.
Styles
Used to locate this view in end-to-end tests
The value to show for the text input. TextInput is a controlled
@@ -33,8 +34,7 @@ by keeping value the same. In addition to simply setting the same value,
either set editable={false}, or set/update maxLength to prevent
unwanted edits without flicker.
If true, the text field will blur when submitted. The default value is true.
When the clear button should appear on the right side of the text view
If true, clears the text field automatically when editing begins
If true, the keyboard disables the return key when there is no text and -automatically enables it when there is text. The default value is false.
Limits the maximum number of characters that can be entered. Use this -instead of implementing the logic in JS to avoid flicker.
Sets the number of lines for a TextInput. Use it with multiline set to +automatically enables it when there is text. The default value is false.
Sets the number of lines for a TextInput. Use it with multiline set to true to be able to fill the lines.
Callback that is called when a key is pressed. Pressed key value is passed as an argument to the callback handler. Fires before onChange callbacks.
Determines how the return key should look.
If true, all text will automatically be selected on focus
See DocumentSelectionState.js, some state that is responsible for