Closed mandres-digix closed 4 years ago
First Pass (using account8
)
unlockAmount
is zero or negative, button is disabled.unlockAmount
is greater than the maximum calculated unlockable amount, button is disabled and an error message will appear.unlockAmount
is valid, button is enabled and user can proceed with the transaction.Second Pass (refreshed site and reloaded account8
)
Default
If unlock amount exceeds calculated max unlockable
If unlock amount is zero (also applies if amount is negative)
If unlock amount is valid
After Unlocking
Ref: EL_v2-1215
User should be able to input how much DGD they can unlock. The unlockable amount cannot exceed the calculated maximum.
Expected Behavior
unlockAmount
is zero or negative, button is disabled.unlockAmount
is greater than the maximum calculated unlockable amount, button is disabled and an error message will appear.unlockAmount
is valid, button is enabled and user can proceed with the transaction.