react-hook-form

React Hook Form with AntD Styling

♀尐吖头ヾ 提交于 2020-02-25 06:29:08
问题 I'm trying to figure out how to use react-hook-form with antd front end. I have made this form and it seems to be working (it's part 1 of a multipart form wizard) except that the error messages do not display. Can anyone see what I've done wrong in merging these two form systems? I'm not getting any errors, but I think I have asked for both form fields to be required but if I press submit without completing them the error messages are not displayed. import React from "react"; import useForm