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

Prevent negative credits to be sent in wallet.component.html #404

Open
wants to merge 1 commit into
base: dfg/win25
Choose a base branch
from

Conversation

jackson-dfg
Copy link
Collaborator

Relates to issue 288: #288

Changes:

  1. Updated the amount input field in the Send tab to restrict negative values by setting type="number" and min="0". This ensures users can’t enter negative amounts when sending credits.
  2. Modified the balance display to prevent negative balances from appearing in the UI. If the balance is negative, it now displays as zero.

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