curvance-web / app-community

0 stars 0 forks source link

Unable to deposit when using a 0 preceding the value #78

Closed madunn closed 1 month ago

madunn commented 1 month ago

When attempting to deposit assets, if you append a 0 to the beginning of the value, the Approve button is no longer available. For example, if you try to deposit 0.1 BTC you can, but if you try to deposit 00.1 BTC then the approve button is not greyed out. This holds true even if you aren't using decimals. Example: I can deposit 1 BTC, but cannot deposit 01 BTC.

Video: https://drive.google.com/file/d/1GAd6DLQXhmFjKwxxmoWcKu7Hd6MFQa4p/view?usp=drive_link

madunn commented 1 month ago

Closing as duplicate of https://github.com/curvance-web/app-community/issues/77