Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Do not show 'Your investment amount can't be zero' message when input is in default state #2285

Closed
elena-zh opened this issue Jan 25, 2022 · 0 comments
Assignees
Labels
app:CowSwap CowSwap app Claim Issues related to 'Claim' feature Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system

Comments

@elena-zh
Copy link

elena-zh commented Jan 25, 2022

When I open 'Set allowance to Buy vCOW' page, and my token is approved, I see the input field empty (with a 0 placeholder) along with 'Your investment amount can't be zero' validation message.
do not show errors in default

I think, it would be great not to show it in the default state until a user starts working with the field:

  • show this validation message when he/she enters 0
  • show this validation message when he/she clears out the field
@elena-zh elena-zh added app:CowSwap CowSwap app Claim Issues related to 'Claim' feature Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system labels Jan 25, 2022
@nenadV91 nenadV91 self-assigned this Jan 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
app:CowSwap CowSwap app Claim Issues related to 'Claim' feature Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system
Projects
None yet
Development

No branches or pull requests

2 participants