diff --git a/src/index.js b/src/index.js index 596e118..6d75702 100644 --- a/src/index.js +++ b/src/index.js @@ -373,7 +373,7 @@ class ReactPhoneInput extends React.Component { } handleKeydown(event) { - if(!this.state.showDropDown) { + if(!this.state.showDropDown || this.props.disabled) { return; } @@ -504,6 +504,7 @@ class ReactPhoneInput extends React.Component { ref="numberInput" type="tel" className={inputClasses} + disabled={this.props.disabled} />