<ion-col size="4">
<ion-input
class="input-field"
style="--padding-end: 20px; text-align: end;"
[(ngModel)]="discountPercent"
(ngModelChange)="onDiscountPercentChange()"
type="text"
appDecimalPlaces="2">
<p slot="end">%</p>
</ion-input>
</ion-col>
Your text:
[(ngModel)]="discountAmount"
I want to add this place format function
getFormatedNumber(saleDecimals)
How can I solve this?