p-InputNumber : minFraction digit not working as expected
Describe the bug
inside p-inputnumber, the displayed value and the stored value of the component are different if you use minFractionDigits. I configured my inputNumber with minFractionDigits and maxFractionDigits 2 to get always a number with 2 digits. It is working on the UI, but the stored value somethimes has no digits. This occurs when the typed number has no digits like "1" or if you type 0 as digit.
Environment
Angular 16 app. Can also be reproduced on the demo page of primeng
Reproducer
https://codesandbox.io/p/sandbox/primeng-input-number-numerals-demo-forked-n9ndg8
Angular version
16.2.2
PrimeNG version
16.3.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.14.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
Input: 6 Displayed value: 6.00 stored value: 6 expected 6.00
This issue has been automatically marked as stale due to a lack of activity. If this issue is still relevant to you, please leave a comment so we can keep it open. We apologize for not being able to prioritize it sooner. If you have any new information or questions, please share them in your comment!