Skip to content

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

Open
jackson-dfg wants to merge 1 commit into
involveMINT:dfg/win25from
jackson-dfg:dfg-win25-issue288
Open

Prevent negative credits to be sent in wallet.component.html#404
jackson-dfg wants to merge 1 commit into
involveMINT:dfg/win25from
jackson-dfg:dfg-win25-issue288

Conversation

@jackson-dfg

Copy link
Copy Markdown
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