Minor fixes:
* min value allowed on input (was 1, now is 0.0001) * Number filter with 4 decimals
This commit is contained in:
parent
7e3477d03f
commit
b221bb16d4
1 changed files with 4 additions and 4 deletions
|
|
@ -688,7 +688,7 @@
|
||||||
<div class="small-9 columns">
|
<div class="small-9 columns">
|
||||||
<input type="number" id="amount" ng-disabled="loading"
|
<input type="number" id="amount" ng-disabled="loading"
|
||||||
name="amount" placeholder="Amount" ng-model="amount"
|
name="amount" placeholder="Amount" ng-model="amount"
|
||||||
min="1" max="10000000000" enough-amount required
|
min="0.0001" max="10000000000" enough-amount required
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -702,13 +702,13 @@
|
||||||
Total amount for this transaction:
|
Total amount for this transaction:
|
||||||
</small>
|
</small>
|
||||||
<div class="totalAmount">
|
<div class="totalAmount">
|
||||||
<b>{{amount + defaultFee |number}}</b> {{$root.unitName}}
|
<b>{{amount + defaultFee |number:4}}</b> {{$root.unitName}}
|
||||||
<small>
|
<small>
|
||||||
{{ ((amount + defaultFee) * unitToBtc) |number}} BTC
|
{{ ((amount + defaultFee) * unitToBtc) |number:4}} BTC
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<small>
|
<small>
|
||||||
Including fee of {{defaultFee|number}} {{$root.unitName}}
|
Including fee of {{defaultFee |number:4}} {{$root.unitName}}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue