0
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. Default value comes by formatted 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 am looking for a solution. Someone has already been through this problem and can kindly help me ?