diff --git a/releases/next/docs/textinput.html b/releases/next/docs/textinput.html index b3673baf7c0..8173090ec52 100644 --- a/releases/next/docs/textinput.html +++ b/releases/next/docs/textinput.html @@ -29,7 +29,7 @@ instead of implementing the logic in JS to avoid flicker.

onBlur function #

Callback that is called when the text input is blurred

onChange function #

Callback that is called when the text input's text changes.

onChangeText function #

Callback that is called when the text input's text changes. Changed text is passed as an argument to the callback handler.

onEndEditing function #

Callback that is called when text input ends.

onFocus function #

Callback that is called when the text input is focused

onLayout function #

Invoked on mount and layout changes with {x, y, width, height}.

onSelectionChange function #

Callback that is called when the text input selection is changed

onSubmitEditing function #

Callback that is called when the text input's submit button is pressed. Invalid if multiline={true} is specified.

placeholder string #

The string that will be rendered before text input has been entered

placeholderTextColor string #

The text color of the placeholder string

secureTextEntry bool #

If true, the text input obscures the text entered so that sensitive text -like passwords stay secure. The default value is false.

selectionColor string #

The highlight (and cursor on ios) color of the text input

style Text#style #

Styles

value string #

The value to show for the text input. TextInput is a controlled +like passwords stay secure. The default value is false.

selectTextOnFocus bool #

If true, all text will automatically be selected on focus

selectionColor string #

The highlight (and cursor on ios) color of the text input

style Text#style #

Styles

value string #

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses this works great, but in some cases this may cause flickering - one common cause is preventing edits @@ -39,7 +39,7 @@ unwanted edits without flicker.

androidunderlineColorAndroid string #

The color of the textInput underline.

iosclearButtonMode enum('never', 'while-editing', 'unless-editing', 'always') #

When the clear button should appear on the right side of the text view

iosclearTextOnFocus bool #

If true, clears the text field automatically when editing begins

iosenablesReturnKeyAutomatically bool #

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.

ioskeyboardAppearance enum('default', 'light', 'dark') #

Determines the color of the keyboard.

iosonKeyPress function #

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.

iosreturnKeyType enum('default', 'go', 'google', 'join', 'next', 'route', 'search', 'send', 'yahoo', 'done', 'emergency-call') #

Determines how the return key should look.

iosselectTextOnFocus bool #

If true, all text will automatically be selected on focus

iosselectionState DocumentSelectionState #

See DocumentSelectionState.js, some state that is responsible for +Fires before onChange callbacks.

iosreturnKeyType enum('default', 'go', 'google', 'join', 'next', 'route', 'search', 'send', 'yahoo', 'done', 'emergency-call') #

Determines how the return key should look.

iosselectionState DocumentSelectionState #

See DocumentSelectionState.js, some state that is responsible for maintaining selection information for a document

Next →