React doesn't render autocomplete off
Capital "C" autoComplete
. This is mentioned in the React documentation:
https://facebook.github.io/react/docs/tags-and-attributes.html
You should put:
autoComplete="new-password"
This will remove the autocomplete
According to Mozilla documentation, you have to set an invalid value to really turn the autocompletion off. In some browsers, autocomplete suggestions are still given even though the attribute is set to off.
This worked for me (react-bootstrap):
<FormControl value={this.state.value} autoComplete="nope" {...props}/>