Modifiers
keyboardType
Sets the keyboard type for text input views.
keyboardType(keyboardType)
| Parameter | Type | Description |
|---|---|---|
keyboardType | 'url' | 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'ascii-capable' | 'numbers-and-punctuation' | 'name-phone-pad' | 'decimal-pad' | 'twitter' | 'web-search' | 'ascii-capable-number-pad' | The type of keyboard to display. |
Sets the keyboard type for text input views.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
Sources
The original Expo docs for this page:
- keyboardType (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)