You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
example but no show error, but in vite js it happen
npm init vite@latest app
choose preact typescript and install dependencies.
install react hook form
SOLUTION Expected behavior
the solution is that min and max add number
min?: Signalish<string | undefined|number>;
MAX?: Signalish<string | undefined|number>;
The text was updated successfully, but these errors were encountered:
I don't think your sandbox is public, mind making it so?
Edit: Nevermind, no need.
yes, it no neccesary, solution is add number in min and max type in input or react hook form add string min and max. React hook form is the library most used in react.
Maintainers would generally prefer you leave that determination up to them. The number of times we've been told a reproduction isn't necessary when it very much was... 😄
Describe the bug
React hook form method register have a type max input like number and input preact is Signalish<string | undefined> .
To Reproduce
https://codesandbox.io/p/sandbox/error-input-react-hook-form-y8rprh
Steps to reproduce the behavior:
SOLUTION
Expected behavior
the solution is that min and max add number
min?: Signalish<string | undefined|number>;
MAX?: Signalish<string | undefined|number>;
The text was updated successfully, but these errors were encountered: