-
Having issues with using react-hook-form with reactstrap. Errors are not triggered or submit is not called. I tried all sorts of other crap with innerref and controllers but they result is exceptions "@hookform/resolvers": "^2.8.3", Has anyone idea what is wrong ?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
so seems it was the that was not diaplaying (Why ?). Now if I use a for the feedback I can see that the validation works. But now it seems I can never get passed validation and form never submits wtf?
|
Beta Was this translation helpful? Give feedback.
-
any news on this one? did you manage to pass validation? |
Beta Was this translation helpful? Give feedback.
-
Answer for this is make your own customInput and also pass the ref proprety like this for example const CustomInput = forwardRef(
} export default CustomInput; |
Beta Was this translation helpful? Give feedback.
so seems it was the that was not diaplaying (Why ?). Now if I use a
for the feedback I can see that the validation works. But now it seems I can never get passed validation and form never submits wtf?