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: 3717
Joined: 22 Apr 2013, 15:48

08 Jul 2022, 16:43

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

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests