mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add support to URI keyboard type in Android (#31781)
Summary: Android react-native `TextInput` component does nothing if prop `keyboardType` is `url` value. This PR solves that problem. ## Changelog [Android] [Added] - Add support to URI keyboard type in Android Pull Request resolved: https://github.com/facebook/react-native/pull/31781 Test Plan: Before change: {F630980679} After Change: {F630986399} Reviewed By: lunaleaps Differential Revision: D29517822 Pulled By: sshic fbshipit-source-id: 1bda29584a3799570f34e772b5589b59ac80c524
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2970de9400
commit
1465c8f387
@@ -37,10 +37,10 @@ export type KeyboardType =
|
||||
| 'phone-pad'
|
||||
| 'number-pad'
|
||||
| 'decimal-pad'
|
||||
| 'url'
|
||||
// iOS-only
|
||||
| 'ascii-capable'
|
||||
| 'numbers-and-punctuation'
|
||||
| 'url'
|
||||
| 'name-phone-pad'
|
||||
| 'twitter'
|
||||
| 'web-search'
|
||||
@@ -244,6 +244,7 @@ export type NativeProps = $ReadOnly<{|
|
||||
* - `decimal-pad`
|
||||
* - `email-address`
|
||||
* - `phone-pad`
|
||||
* - `url`
|
||||
*
|
||||
* *Android Only*
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user