We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e309d54 commit e5bd868Copy full SHA for e5bd868
1 file changed
src/ReactCodeInput.js
@@ -48,7 +48,8 @@ class ReactCodeInput extends Component {
48
}
49
50
this.setState({
51
- value: nextProps.value,
+ input: getInputArrayFromProps(nextProps),
52
+ value: getValueFromProps(nextProps),
53
});
54
55
0 commit comments