diff --git a/src/ReactCodeInput.js b/src/ReactCodeInput.js index a88fd5a..15d72bc 100644 --- a/src/ReactCodeInput.js +++ b/src/ReactCodeInput.js @@ -49,6 +49,7 @@ class ReactCodeInput extends Component { this.setState({ value: nextProps.value, + input: getInputArray(nextProps), }); }