Bug found in InputNumber

UI Components for React
Post Reply
boki_pk
Posts: 2
Joined: 13 Mar 2022, 10:20

13 Mar 2022, 10:41

Hello,

I have found bug in inputnumber component. If you go here:
https://codesandbox.io/s/zealous-estrel ... berDemo.js

And if you go to any field which has decimals, and go here:
Image

and if you press delete button, you will get error:
TypeError
this.$refs is undefined

mcandu
Posts: 107
Joined: 20 Jan 2021, 16:31

15 Mar 2022, 10:10

Hi,

Looks like the image is broken, could you edit codesandbox example that only targets the issue ?

boki_pk
Posts: 2
Joined: 13 Mar 2022, 10:20

15 Mar 2022, 13:32

mcandu wrote:
15 Mar 2022, 10:10
Hi,

Looks like the image is broken, could you edit codesandbox example that only targets the issue ?
Hi,

You can use official example: https://codesandbox.io/s/zealous-estrel ... berDemo.js

Just go to any inputnumber which has decimal separator (.) - for example: Currency - Germany. Click left from decimal separator and press DELETE key on keyboard.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests