Skip to content

Comments

add all keyboard types for keyboardType enum prop#474

Closed
shrugs wants to merge 1 commit intofacebook:masterfrom
shrugs:2015_03_29_all_keyboard_types
Closed

add all keyboard types for keyboardType enum prop#474
shrugs wants to merge 1 commit intofacebook:masterfrom
shrugs:2015_03_29_all_keyboard_types

Conversation

@shrugs
Copy link

@shrugs shrugs commented Mar 30, 2015

This adds the entire suite of keyboardTypes to the enum.

I matched the enums with the constants (UIKeyboardTypeNumbersAndPunctuation becomes numbersAndPunctuation).

I also added shortcut enums for the popular and verbose names. (ascii, number, phone, etc).

@shrugs
Copy link
Author

shrugs commented Mar 30, 2015

Just realized that this might not be ideal because some of these keyboard types are iOS-specific. What's the correct way to implement these while separating platforms? Is it to subclass TextInput and make TextInputIOS that supports these different styles, along with the returnKeyType property?

@a2
Copy link
Contributor

a2 commented Apr 1, 2015

This was added in #265.

@a2 a2 closed this Apr 1, 2015
tido64 pushed a commit to tido64/react-native that referenced this pull request Jul 8, 2020
* Fixing OS specific failure in publish task

* Adding publish verfification into the PR job

* Adding some comments.

* Removing the diagnostic logs
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.

2 participants