React-native-google-places-autocomplete: remove autocorrect?

Created on 21 Dec 2016  路  2Comments  路  Source: FaridSafi/react-native-google-places-autocomplete

Do you have a way of removing autocorrect from the TextInput?

Most helpful comment

Hi @timurridjanovic

Use textInputProps prop.

<GooglePlacesAutocomplete
  ...
  textInputProps={{
    autoCorrect: false
  }}
/>

All 2 comments

Hi @timurridjanovic

Use textInputProps prop.

<GooglePlacesAutocomplete
  ...
  textInputProps={{
    autoCorrect: false
  }}
/>

hi @myaskevich I can't fix auto correct in my app:
screen shot 2016-12-26 at 10 15 08

placeholder='Nh岷璸....'
minLength={2} // minimum length of text to search
autoFocus={true}
fetchDetails={false}
onPress={this._onPress.bind(this)}
onCancelPress={this._onCancelPress.bind(this)}
getDefaultValue={() => {
return ''; // text input default value
}}
textInputProps={{
autoCorrect: false
}}
styles={{
description: {
....
/>

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tgreco picture tgreco  路  3Comments

nikohosn picture nikohosn  路  3Comments

DennisMuchiri picture DennisMuchiri  路  4Comments

GervaisYO picture GervaisYO  路  4Comments

biks152207 picture biks152207  路  4Comments