andreaswilli/react-verification-input

Allow `onChange` to be used independently from `value` prop

Closed this issue · 0 comments

In case the value does not need to be modified from the outside (e.g. clear value) the onChange callback should be possible to use without providing the value prop (this means the state is hidden inside the component).