Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumberInput should be a bigint #112

Open
mikestarrdev opened this issue Oct 6, 2023 · 0 comments
Open

NumberInput should be a bigint #112

mikestarrdev opened this issue Oct 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mikestarrdev
Copy link
Contributor

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"

@mikestarrdev mikestarrdev added the bug Something isn't working label Oct 6, 2023
@gpxl-dev gpxl-dev added enhancement New feature or request and removed bug Something isn't working labels Oct 10, 2023
@mikestarrdev mikestarrdev self-assigned this Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants