Ios – Turn off autoCapitalize on ALL React Native Inputs (iOS)

ios, react-native

Most of my Inputs are being auto-Capitalized on iOS only. I know there's the autoCapitalize property that I could set to false on every input to turn it off but I'm wondering if there's a global config I can apply project-wide.

Best Solution

I don't know any global config for that but simplest solution that I can think of would be creating a custom component with default autoCapitalize value.


const CustomTextInput = (props) => (<TextInput autoCapitalize="none" ...props />)