Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextInput] returnKeyType, enablesReturnKeyAutomatically, more keyboardTypes #109

Closed
wants to merge 10 commits into from
Closed

Conversation

ide
Copy link
Contributor

@ide ide commented Feb 27, 2015

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.
  • 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.

@ide ide changed the title [TextInput] returnKeyType, clearButtonMode, enablesReturnKeyAutomatically [TextInput] returnKeyType, enablesReturnKeyAutomatically, more keyboardTypes Mar 19, 2015
@arasmussen arasmussen force-pushed the master branch 5 times, most recently from 9b61be2 to 41453a5 Compare March 26, 2015 02:57
@ide ide mentioned this pull request Mar 26, 2015
@bootstraponline
Copy link

👍

…ntry more keyboardTypes

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.
@ide
Copy link
Contributor Author

ide commented Mar 26, 2015

Superseded by #265 (+ secureTextEntry support!)

@ide ide closed this Mar 26, 2015
harrykiselev pushed a commit to harrykiselev/react-native that referenced this pull request Aug 5, 2015
acoates-ms pushed a commit to acoates-ms/react-native that referenced this pull request Jul 15, 2019
* Using optimized V8 bins

* Updating V8 nuget version in build.gradle

* Adding mapping for Image in ViewManagerRegistry

* Removing wrongly added entry from the ViewManagerRegistry map
jfrolich pushed a commit to jfrolich/react-native that referenced this pull request Apr 22, 2020
react-one pushed a commit to react-one/react-native that referenced this pull request Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants