react-code-input
react-code-input copied to clipboard
React component for entering and validating PIN code.
Added features (KeyPress events) as asked in #76
if already fill the input, and then type with same number, the focus will not change to the next input until i type it again
Hi, I had some troubles trying to use the component as controlled. My use case is quite simple : I want to use the component on mobile and to only...
Generated uuid/v4 id makes it impossible to use snapshot testing, I suggest to replace {this.uuid}+[incrementedCount] call in id of inputs to optional name prop like {[this.name]-[incrementedCount]}
I am new to react. when type = password need to remove by default text "test" appear and don't know how to remove it. Please help on this.
Hi. I have 1 question - haven't found decision. Can i use single input for several chars? My task - i have code (6 integers). And i need use 3...
Fixes issue #60 about incorrect autofocus behavior. Note for the Storybook: autofocus prop effect will be only visible on page refresh. This is expected HTML behavior that only sets autofocus...
For my use case, I wanted to have the component become disabled when the user has reached the maximum number of fields (in `handlePinInputChange` when `length === 6`, `pinComplete` in...
Hi, It seems to me that `autoFocus` prop sets incorrect state. Indeed, [here](https://github.com/40818419/react-code-input/blob/master/src/ReactCodeInput.js#L272) you set `autoFocus="autofocus"` if `autofocus` prop is set, `autofocus=""` otherwise. However, in HTML 5, the presence of...
Can we set DELETE_KEY have same function of the BACKSPACE_KEY?