diff --git a/src/components/inputs/Input/index.js b/src/components/inputs/Input/index.js index ee25ea5a..4262efb6 100644 --- a/src/components/inputs/Input/index.js +++ b/src/components/inputs/Input/index.js @@ -183,6 +183,7 @@ class Input extends PureComponent { autocapitalize={this.props.autocapitalize} spellCheck={this.props.spellCheck} value={this.props.value} + readOnly={this.props.readOnly} onChange={this.props.onChange} borderColor={this.getColor(this.props.state)} disabled={this.props.isDisabled} @@ -218,6 +219,7 @@ Input.propTypes = { icon: PropTypes.node, spellCheck: PropTypes.string, value: PropTypes.string, + readOnly: PropTypes.bool, onChange: PropTypes.func, state: PropTypes.string, bottomText: PropTypes.string, diff --git a/src/views/Wallet/views/Account/Receive/index.js b/src/views/Wallet/views/Account/Receive/index.js index c56c7fd0..8349f0b3 100644 --- a/src/views/Wallet/views/Account/Receive/index.js +++ b/src/views/Wallet/views/Account/Receive/index.js @@ -119,6 +119,7 @@ const AccountReceive = (props: Props) => {