Used this component in a small Winestore project and I noticed InputFormField only works for string inputs and value only takes string | undefined. Tried to use it for number but I had to convert value to string before passing the value and convert it back to number before setting the state
Used this component in a small Winestore project and I noticed
InputFormField
only works for string inputs andvalue
only takesstring | undefined
. Tried to use it for number but I had to convertvalue
to string before passing the value and convert it back to number before setting the state