From 47be428044563408c70f7f309e4695294d563ca5 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 11 Oct 2017 01:23:44 +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 3b591c27030..0468c26b708 100644 --- a/releases/next/docs/textinput.html +++ b/releases/next/docs/textinput.html @@ -95,7 +95,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.

caretHidden?: bool #

If true, caret is hidden. The default value is false.

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
  • phone-pad

maxHeight?: number #

If autogrow is true, limits the height that the TextInput box can grow +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', 'visible-password') #

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

The following values work across platforms:

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

iOS Only

The following values work on iOS only:

  • ascii-capable
  • numbers-and-punctuation
  • url
  • number-pad
  • name-phone-pad
  • decimal-pad
  • twitter
  • web-search

Android Only

The following values work on Android only:

  • visible-password

maxHeight?: number #

If autogrow is true, limits the height that the TextInput box can grow to. Once it reaches this height, the TextInput becomes scrollable.

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.