You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"I also used react-hook-form, but I actually had two inputs.
One was a hidden input which is where the form value went - the hidden input's value was a bignumber, and the one that was visible was the string that the user inputs.
The react hook form actually pointed to the bignumber input
So all my code handled bignumbers, and when i set the value in hook form, the component parsed it out to a formatted string
but that's probably overkill given we only have one number input in the whole app"
The text was updated successfully, but these errors were encountered:
Possible idea:
"I also used react-hook-form, but I actually had two inputs.
One was a hidden input which is where the form value went - the hidden input's value was a bignumber, and the one that was visible was the string that the user inputs.
The react hook form actually pointed to the bignumber input
So all my code handled bignumbers, and when i set the value in hook form, the component parsed it out to a formatted string
but that's probably overkill given we only have one number input in the whole app"
The text was updated successfully, but these errors were encountered: