From 884f7d8bce3d2c4ecb8c27a2e9ba6faef1cfe7fa Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 4 Jul 2016 16:58:20 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/textinput.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/next/docs/textinput.html b/releases/next/docs/textinput.html index a35c3d30af3..fba4843df50 100644 --- a/releases/next/docs/textinput.html +++ b/releases/next/docs/textinput.html @@ -88,7 +88,7 @@ multiline fields. Note that for multiline fields, setting blurOnSubmittrue means that pressing return will blur the field and trigger the onSubmitEditing event instead of inserting a newline into the field.

defaultValue string #

Provides an initial value that will change when the user starts typing. Useful for simple use-cases where you do not want to deal with listening -to events and updating the value prop to keep the controlled state in sync.

editable bool #

If false, text is not editable. The default value is true.

keyboardType enum('default', 'email-address', 'numeric', 'phone-pad', 'ascii-capable', 'numbers-and-punctuation', 'url', 'number-pad', 'name-phone-pad', 'decimal-pad', 'twitter', 'web-search') #

Determines which keyboard to open, e.g.numeric.

The following values work across platforms:

  • default
  • numeric
  • email-address

maxLength number #

Limits the maximum number of characters that can be entered. Use this +to events and updating the value prop to keep the controlled state in sync.

editable bool #

If false, text is not editable. The default value is true.

keyboardType enum('default', 'email-address', 'numeric', 'phone-pad', 'ascii-capable', 'numbers-and-punctuation', 'url', 'number-pad', 'name-phone-pad', 'decimal-pad', 'twitter', 'web-search') #

Determines which keyboard to open, e.g.numeric.

The following values work across platforms:

  • default
  • numeric
  • email-address
  • phone-pad

maxLength number #

Limits the maximum number of characters that can be entered. Use this instead of implementing the logic in JS to avoid flicker.

multiline bool #

If true, the text input can be multiple lines. The default value is false.

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.