<input type="text" class="form-control"
id="transactionAmount"
maxlength="10"
OnlyNumber="true"
[(ngModel)]="userBalance.transactionAmount"
name="transactionAmount"
placeholder="Amount"
required
#transactionAmount="ngModel">
- Here I have to hide zero amount while user entering the values.
- If he enters all zero's then only we have to hide not in cases like 20,30,100 etc...
- I'm using Angular 2.