p-inputNumber with maxFractionalDigits and suffix

UI Components for Angular
Post Reply
peterkronenberg
Posts: 5
Joined: 23 Sep 2020, 22:43

18 Oct 2020, 20:12

I found a bug when using p-inputNumber with maxFractionalDigits and a suffix. It only allows you to type one number after the decimal point and then it wipes away the suffix. There is no way to type a number with more than 1 digit after the decimal point.
Try the Stackblitz from https://primefaces.org/primeng/showcase/#/inputnumber in the example for Min-Max Fraction Digits. Add a suffix= to the example and you'll be able to replicate the behavior

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest