Skip to content

Commit eca4717

Browse files
mohas22mohas22
authored andcommitted
updated percentage
1 parent 977dc4e commit eca4717

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/angular-sdk-components/src/lib/_components/field/percentage/percentage.component.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
(change)="fieldOnChange()"
3030
(blur)="fieldOnBlur($event)"
3131
[readonly]="bReadonly$"
32-
[value]="value$"
3332
/>
3433
<mat-error *ngIf="fieldControl.invalid">{{ getErrorMessage() }}</mat-error>
3534
</mat-form-field>

packages/angular-sdk-components/src/lib/_components/field/percentage/percentage.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export class PercentageComponent implements OnInit, OnDestroy {
121121
const nValue: any = this.configProps$.value;
122122
if (nValue) {
123123
this.value$ = nValue;
124+
this.fieldControl.setValue(nValue);
124125
}
125126
this.helperText = this.configProps$.helperText;
126127
this.placeholder = this.configProps$.placeholder || '';

0 commit comments

Comments
 (0)