Skip to content

Commit 3f69cd6

Browse files
authored
feat: TextField, TextView decimal keyboardType (#181)
1 parent cfc71ea commit 3f69cd6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

content/ui/text-field.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ Defaults to `true`.
103103
### keyboardType
104104

105105
```ts
106-
keyboardType: CoreTypes.KeyboardType | number // "datetime" | "email" | "integer" | "number" | "phone" | "url"
106+
keyboardType: CoreTypes.KeyboardType | number // "datetime" | "email" | "integer" | "number" | "decimal" | "phone" | "url"
107107
```
108108

109-
Gets or sets the keyboard type shown when editing this TextField.
109+
Gets or sets common keyboard types shown when editing this TextField.
110110

111-
On iOS, any valid `UIKeyboardType` number works, for example:
111+
On iOS, any valid `UIKeyboardType` number also works, for example:
112112

113113
```ts
114114
keyboardType = 8 // UIKeyboardType.DecimalPad

content/ui/text-view.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ Defaults to `true`.
109109
### keyboardType
110110

111111
```ts
112-
keyboardType: CoreTypes.KeyboardType | number // "datetime" | "email" | "integer" | "number" | "phone" | "url"
112+
keyboardType: CoreTypes.KeyboardType | number // "datetime" | "email" | "integer" | "number" | "decimal" | "phone" | "url"
113113
```
114114

115115
Gets or sets the keyboard type shown when editing this TextView.
116116

117-
On iOS, any valid `UIKeyboardType` number works, for example:
117+
On iOS, any valid `UIKeyboardType` number also works, for example:
118118

119119
```ts
120120
keyboardType = 8 // UIKeyboardType.DecimalPad

0 commit comments

Comments
 (0)