PrimeReact InputNumber Doesn't work with React Hook Forms

UI Components for React
Post Reply
andrewsanford
Posts: 1
Joined: 14 Jan 2021, 22:36

07 Jul 2022, 14:11

Hi,

When using InputNumber with React-Hook-Forms, a NaN value is displayed when validation is run.

I've created a code sandbox simple example to illustrate this problem: https://codesandbox.io/s/ancient-hooks- ... src/App.js

I'm hoping you could take a look.

Best regards,

Andrew

Melloware
Posts: 3247
Joined: 22 Apr 2013, 15:48

08 Jul 2022, 16:43

PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 11.0.3 / PF Extensions 11.0.3
PrimeReact 8.0.0

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests