A framework for building native apps with React. http://facebook.github.io/react-native/
Go to file
James Ide ac0ad3acdd [TextInput] returnKeyType, enablesReturnKeyAutomatically, secureTextEntry, more keyboardTypes
Summary:
This diff completes adding support for the following UITextField properties:

- returnKeyType: what the return key on the keyboard says
- enablesReturnKeyAutomatically: the return key is disabled iff there is no text entered. This too could be implemented in React but it feels better in UIKit right now because it is handled synchronously.
- secureTextEntry: obscure passwords
- keyboardType: added all the keyboard types, they are useful in different scenarios

There were varying degrees of support for these properties so it looks like this diff continues some unfinished work. I also updated the keyboardType enum to use native constants instead of strings like the other properties here.

Added examples to the UIExplorer.
Closes https://github.com/facebook/react-native/pull/265
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-30 18:13:30 -08:00
Examples [TextInput] returnKeyType, enablesReturnKeyAutomatically, secureTextEntry, more keyboardTypes 2015-03-30 18:13:30 -08:00
IntegrationTests [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
Libraries [TextInput] returnKeyType, enablesReturnKeyAutomatically, secureTextEntry, more keyboardTypes 2015-03-30 18:13:30 -08:00
React [TextInput] returnKeyType, enablesReturnKeyAutomatically, secureTextEntry, more keyboardTypes 2015-03-30 18:13:30 -08:00
jestSupport [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
lint [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
packager [React Native] Sync from github 2015-03-27 22:09:11 -08:00
.eslintignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
.eslintrc [React Native] Sync from github 2015-03-27 22:09:11 -08:00
.flowconfig [React Native] Sync from github 2015-03-27 22:09:11 -08:00
React.podspec [React Native] Fix CocoaPods spec 2015-03-26 05:59:38 -08:00
linter.js [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
package.json [React Native] Sync from github 2015-03-27 22:09:11 -08:00
runXcodeTests.sh [React Native] Sync from github 2015-03-27 22:09:11 -08:00