|
|
@ -183,6 +183,7 @@ class Input extends PureComponent {
|
|
|
|
autocapitalize={this.props.autocapitalize}
|
|
|
|
autocapitalize={this.props.autocapitalize}
|
|
|
|
spellCheck={this.props.spellCheck}
|
|
|
|
spellCheck={this.props.spellCheck}
|
|
|
|
value={this.props.value}
|
|
|
|
value={this.props.value}
|
|
|
|
|
|
|
|
readOnly={this.props.readOnly}
|
|
|
|
onChange={this.props.onChange}
|
|
|
|
onChange={this.props.onChange}
|
|
|
|
borderColor={this.getColor(this.props.state)}
|
|
|
|
borderColor={this.getColor(this.props.state)}
|
|
|
|
disabled={this.props.isDisabled}
|
|
|
|
disabled={this.props.isDisabled}
|
|
|
@ -218,6 +219,7 @@ Input.propTypes = {
|
|
|
|
icon: PropTypes.node,
|
|
|
|
icon: PropTypes.node,
|
|
|
|
spellCheck: PropTypes.string,
|
|
|
|
spellCheck: PropTypes.string,
|
|
|
|
value: PropTypes.string,
|
|
|
|
value: PropTypes.string,
|
|
|
|
|
|
|
|
readOnly: PropTypes.bool,
|
|
|
|
onChange: PropTypes.func,
|
|
|
|
onChange: PropTypes.func,
|
|
|
|
state: PropTypes.string,
|
|
|
|
state: PropTypes.string,
|
|
|
|
bottomText: PropTypes.string,
|
|
|
|
bottomText: PropTypes.string,
|
|
|
|