Why does onChange return a string?
timbjames opened this issue · comments
timbjames commented
I thought with this being a NumberInput, that the onChange
event would return a valid number rather than a string value?
Is this something in the pipeline?
Ivo Stratev commented
It returns a string because type='number'
limits what can be entered so no proper validation is possible when browsers auto corrects the input's value.