Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rooch-portal] Fix:amount input field behavior when clearing value #3388

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

nlyrthiia
Copy link
Contributor

Summary

Fixed a usability issue in the Add Liquidity modal where the amount input field would display "-" and become unusable after clearing all input values.

33441741026144_ pic

Changes

  • Added special handling for empty input values in the amount TextField
  • Ensures the input field remains empty (instead of showing "-") when user clears all content
  • Maintains the ability to input new numbers after clearing

Copy link

vercel bot commented Mar 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchain-ai-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2025 6:49pm
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2025 6:49pm
test-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2025 6:49pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Visit Preview Mar 3, 2025 6:49pm

@jolestar
Copy link
Contributor

jolestar commented Mar 5, 2025

@wow-sven I merge this PR first.

@jolestar jolestar merged commit a0df9d4 into rooch-network:main Mar 5, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants