Skip to content

Commit 2ff4e8d

Browse files
Add autoCapitalize on textInput
1 parent d6dd4c7 commit 2ff4e8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/Autocomplete/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ class Autocomplete extends Component {
171171
placeholderColor,
172172
data,
173173
disableFullscreenUI,
174+
autoCapitalize,
174175
...dropdownProps
175176
} = this.props;
176177

@@ -191,6 +192,7 @@ class Autocomplete extends Component {
191192
autoCorrect={autoCorrect}
192193
keyboardType={keyboardType}
193194
onChangeText={text => this.handleInputChange(text)}
195+
autoCapitalize={autoCapitalize}
194196
onFocus={event => {
195197
if (scrollToInput) {
196198
scrollToInput(findNodeHandle(event.target));

0 commit comments

Comments
 (0)