Skip to content

Commit

Permalink
Merge pull request #17213 from mark7p/fix/v19-#17169-inputnumber-dirt…
Browse files Browse the repository at this point in the history
…y-onblur-bug

Fix: InputNumber(#17169) InputNumber marked dirty on blur
  • Loading branch information
mehmetcetin01140 authored Dec 26, 2024
2 parents 567333a + ebfdc3c commit a7e78e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primeng/src/inputnumber/inputnumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ export class InputNumber extends BaseComponent implements OnInit, AfterContentIn
}

writeValue(value: any): void {
this.value = value;
this.value = value ? this.parseValue(value.toString()) : value;
this.cd.markForCheck();
}

Expand Down

0 comments on commit a7e78e1

Please sign in to comment.