40818419 / react-code-input

React component for entering and validating PIN code.
MIT License
314 stars 129 forks source link

Added prevent typing letters if the type is number for Safari & Firefox #144

Open panaitov-pm opened 2 years ago

panaitov-pm commented 2 years ago

Currently, react-code-input has a bug in value validation. In Safari and Firefox, it's possible to type letters when the react-code-input component receives 'numeric' type. Google and Opera work correctly.