react-native/Examples
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
..
2048 [React Native] Sync from github 2015-03-27 22:09:11 -08:00
Movies [React Native] Sync from github 2015-03-27 22:09:11 -08:00
SampleApp [ReactNative] Make it easier to generate offline bundles 2015-03-27 09:31:24 -08:00
TicTacToe [React Native] Sync from github 2015-03-27 22:09:11 -08:00
UIExplorer [TextInput] returnKeyType, enablesReturnKeyAutomatically, secureTextEntry, more keyboardTypes 2015-03-30 18:13:30 -08:00