inputNumber with numeric prefix is not working as expected #15311
Labels
LTS-FIXED-16.9.9
Fixed in PrimeNG LTS 16.9.9
LTS-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
unable to enter 0 if prefix is given as 0
For Example:if we provide prefix as 0 and if we want to enter value as '10' then after 1 unable to enter 0
Please find the stackblitz link below for reference:
https://stackblitz.com/edit/1a8vuh?file=src%2Fapp%2Fdemo%2Finput-number-prefix-suffix-demo.ts
Environment
Windows 10
Reproducer
No response
Angular version
17.3.1
PrimeNG version
17.13.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.16.0
Browser(s)
Chrome
Steps to reproduce the behavior
1.Go to stackblitz link
2. In the primeng input try to enter 0,it wont allow
Expected behavior
it should allow 0 to be entered
The text was updated successfully, but these errors were encountered: