apply directive to all inputs

This commit is contained in:
Javier 2016-07-12 11:50:32 -03:00
commit a8d2dd46a8
9 changed files with 17 additions and 17 deletions

View file

@ -54,12 +54,12 @@
</span>
</label>
<div class="input">
<input ng-show="!showAlternative" type="number" id="amount"
<input ng-show="!showAlternative" type="number" id="amount" ignore-mouse-wheel
name="amount" ng-attr-placeholder="{{'Amount in ' + (showAlternative ? 'USD' : 'BTC')}}"
ng-minlength="0.00000001" ng-maxlength="10000000000"
ng-model="amount" autocomplete="off">
<input ng-show="showAlternative" type="number" id="fiat"
<input ng-show="showAlternative" type="number" id="fiat" ignore-mouse-wheel
name="fiat" ng-attr-placeholder="{{'Amount in ' + (showAlternative ? 'USD' : 'BTC')}}"
ng-model="fiat" autocomplete="off">