I have an input field that starts with a number ('.2-2'). This input is updated when a select field modifies its value. When this field is modified, the value of the numver input does not obey the formatting. The default value is formatted by default
<div class="col-sm-12 col">
<label class="control-label" for="ID_MONTHLY_VALUE">{{txtMonthl_value}}</label>
<input type="text" style="text-align:right;font-weight: bold" formControlName="OriginalMonthlyValue" class="form-control input-sm" disabled />
<!--<input type="text" style="text-align:right;font-weight: bold" [(ngModel)]="OriginalMonthlyValue.value" class="form-control input-sm" />-->
</div>
I'm looking for a solution. Has anyone had this problem and can you kindly help me?