react-native/Libraries/Text
Adam Comella 0e55f5b26d iOS: Introduce spellCheck prop to TextInput
Summary:
This exposes iOS's spellCheckingType functionality to JavaScript. The native functionality is a three state enum. It gets exposed to JavaScript as a boolean. The initial value and JS null map to the third state.

An alternative design for this API would have been to expose a three state enum to JavaScript:
  - "on" which maps to UITextSpellCheckingTypeYes
  - "off" which maps to UITextSpellCheckingTypeNo
  - "auto" (default) which maps to UITextSpellCheckingTypeDefault

For consistency, I decided to use the same API design as spellCheck. We don't have many options for fixing spellCheck in #11055 without introducing a breaking change.

**Test plan (required)**

Verified that switching `spellCheck` between `true`, `false`, and `null` all work correctly in single line and multiline `TextInputs`.
Closes https://github.com/facebook/react-native/pull/11056

Differential Revision: D4232802

Pulled By: javache

fbshipit-source-id: 79e03307fa6a30a169f7e2fd0ec5ac826663e7c1
2016-11-25 04:28:28 -08:00
..
RCTText.xcodeproj Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTConvert+Text.h iOS: Introduce spellCheck prop to TextInput 2016-11-25 04:28:28 -08:00
RCTConvert+Text.m iOS: Introduce spellCheck prop to TextInput 2016-11-25 04:28:28 -08:00
RCTRawTextManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTRawTextManager.m Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTShadowRawText.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTShadowRawText.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTShadowText.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTShadowText.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTText.h Added support of `<Text>`'s `selectable` attribute on iOS 2016-11-17 16:13:28 -08:00
RCTText.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextField.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextField.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextFieldManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextFieldManager.m iOS: Introduce spellCheck prop to TextInput 2016-11-25 04:28:28 -08:00
RCTTextManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextManager.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextSelection.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextSelection.m Add TextInput controlled selection prop on iOS 2016-08-25 17:28:37 -07:00
RCTTextView.h iOS: Introduce spellCheck prop to TextInput 2016-11-25 04:28:28 -08:00
RCTTextView.m iOS: Introduce spellCheck prop to TextInput 2016-11-25 04:28:28 -08:00
RCTTextViewManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextViewManager.m iOS: Introduce spellCheck prop to TextInput 2016-11-25 04:28:28 -08:00
Text.js Added support of `<Text>`'s `selectable` attribute on iOS 2016-11-17 16:13:28 -08:00
TextStylePropTypes.js Remove FlowFixMe from TextStylePropTypes 2016-11-10 08:58:41 -08:00
TextUpdateTest.js RN: Update React (2/2) 2016-11-04 05:43:44 -07:00