Skip to content

Commit

Permalink
Fixing pattern regex in account-details component
Browse files Browse the repository at this point in the history
  • Loading branch information
qwahzi authored Nov 6, 2021
1 parent a215226 commit 89f8e7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ <h2 class="uk-modal-title">Create Block for Remote Signing</h2>
<div class="uk-width-1-1">
<div class="uk-inline uk-width-1-1">
<a class="uk-form-icon uk-form-icon-flip form-icon-btn" (click)="setMaxAmount()" style="padding-right: 7px;" uk-tooltip title="Set Maximum Amount">Max</a>
<input [(ngModel)]="amount" [ngClass]="{ 'uk-form-danger': amountStatus === 0 }" class="uk-input" id="form-horizontal-text" (input)="syncFiatPrice()" type="number" step="1" pattern="[0-9]" oninput="this.value=(parseInt(this.value)||0)" placeholder="Amount of {{ selectedAmount.name }} to send" maxlength="40">
<input [(ngModel)]="amount" [ngClass]="{ 'uk-form-danger': amountStatus === 0 }" class="uk-input" id="form-horizontal-text" (input)="syncFiatPrice()" type="number" step="1" pattern="[0-9]+" oninput="this.value=(parseInt(this.value)||0)" placeholder="Amount of {{ selectedAmount.name }} to send" maxlength="40">
</div>
<div *ngIf="amountRaw.gt(0)" class="uk-width-1-1 uk-width-3-5@m uk-text-small uk-text-muted uk-margin-remove">
<span uk-tooltip title="Additional raw to send">+{{ amountRaw.toString(10) }} raw</span> &nbsp; <a class="uk-text-danger" (click)="resetRaw()" uk-tooltip title="Remove the additional raw amount from the total amount" uk-icon="icon: close"></a>
Expand Down

0 comments on commit 89f8e7e

Please sign in to comment.