The best practice, in my experience, is to leave it as a string in your form values and
use client-side validation to confirm that it's a valid Number
convert to a Number on submit
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more