0.0.28 • Published 7 years ago
react-code-field v0.0.28
react-code-field
A predictable input field for codes, PIN codes, promotional codes, and the like.
WARNING
Still in alpha version, api changes every update, don't use in production
Props:
| Property | Type |
|---|---|
| fields | number |
| type? | string |
| initialValue | string |
| className? | string |
| inputClassName? | string |
| listBannedChars? | string[] |
| forceUpperCase? | boolean |
| autoFocus? | boolean |
| onChange? | func |
| onLastChange? | func |
TODO:
- add character filtering
- add the ability to call callback when the last input is changed
- add the ability to set a initial value
- add the ability to force characters to uppercase
- add the ability to integrate with formik and other form managers
- add the ability to turn autofocus on and off
- add typescript support
- write functional tests
- write unit tests
- create live demo
- create complete README
If you have questions or suggestions, create a issue.
0.0.28
7 years ago
0.0.27
7 years ago
0.0.26
7 years ago
0.0.25
7 years ago
0.0.24
7 years ago
0.0.23
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.1
7 years ago