BootNodeDev / dAppBooster

A modern blockchain boilerplate built to quickly get you started with your next project.
https://dappbooster.dev
MIT License
5 stars 1 forks source link

TokenInput crashes #293

Closed gabitoesmiapodo closed 2 months ago

gabitoesmiapodo commented 2 months ago

Describe the bug

TokenInput crashes.

To Reproduce

Enter a number several characters long and it crashes.

Expected behavior

It shouldn't crash.

Screenshots

yay

Additional context

Tested on https://dappbooster.dev/ and also on a local copy of this repository.

fernandomg commented 2 months ago

The problem has to do with the formatter, it's adding the , to separate thousands.

After that was solved, two new problems were raised; when clicking max the value loaded to the input is not formatted nor validated.

https://github.com/user-attachments/assets/2a91e766-9d07-4bf4-a39f-af2493a52719