DEV Community

Discussion on: How to win the fight against react-number-format's keyDown handler?

Collapse
 
stereobooster profile image
stereobooster

The problem is that library has hardcoded dot as separator ('.', for example here github.com/s-yadav/react-number-fo..., but in other places as well). As far as I can tell the fact that first example of <NumberFormat works as you described is rather a bug than a feature.