'Format' function does not accept a number
Opened this issue · 0 comments
heatherbooker commented
The readme seems to indicate that the 'format' prop accepts a number, but in reality, it gets passed a string:
react-numeric-input/src/NumericInput.jsx
Line 647 in a981383
I can submit a PR but which would you prefer to see: changes to docs to clarify that it accepts a string, or changes to code to pass it the number without converting to string?