From d62a914824f68a8b6e17c5a5406157f7e306d598 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 22 Nov 2018 16:33:32 +0100 Subject: [PATCH] Turn off autocomplete - fix --- src/components/inputs/Input/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/inputs/Input/index.js b/src/components/inputs/Input/index.js index cf5bedcf..7887f407 100644 --- a/src/components/inputs/Input/index.js +++ b/src/components/inputs/Input/index.js @@ -172,6 +172,7 @@ class Input extends PureComponent { {this.props.icon} 0} innerRef={this.props.innerRef} @@ -179,10 +180,10 @@ class Input extends PureComponent { type={this.props.type} color={this.getColor(this.props.state)} placeholder={this.props.placeholder} - autocomplete={this.props.autocomplete} autocorrect={this.props.autocorrect} autocapitalize={this.props.autocapitalize} spellCheck={this.props.spellCheck} + isSmallText={this.props.isSmallText} value={this.props.value} readOnly={this.props.readOnly} onChange={this.props.onChange} @@ -238,6 +239,7 @@ Input.propTypes = { Input.defaultProps = { type: 'text', autoSelect: false, + autocomplete: 'off', }; export default Input;