DePayFi / widgets

💸 Payments directly into your wallet. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion and state-of-the-art widgets.
https://depay.com
MIT License
96 stars 36 forks source link

Token switches when amount = true #65

Closed madiganz closed 1 year ago

madiganz commented 2 years ago

Configuration

amount: {
  token: true,
  step: 0.01
},

Initial: image

Select different token: image

Select new amount - Also MAX value wrong on new token. Showing first tokens max still: image

It automatically switches to initial token with new amount: image