% swap numbers needs fixing

See the two pictures below. There is some problem here. I can type infinite number in the percentage. There are two problems here as far as I can see:

  1. you can type any numbers to infinity.

    • This should be quite simple to fix (in theory). Just check your remove liquidity feature, where you can't type more than 100%.

  2. you can type any decimals to infinity.

You might want to get a quick couple of prototype to see what looks best before embarking on the full solution. I'm happy to look at the quick prototype before you code it in testnet.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board

πŸ› Bug Reports

Date

About 2 months ago

Author

Crypto Rockin

Subscribe to post

Get notified by email when there are changes.