Open yancey1204 opened 3 years ago
element-react 1.4.34
Form
When using const refForm = React.useRef(), I can't call refForm.validate because it's not existing on refForm property.
const refForm = React.useRef()
refForm.validate
Please use React hook to rewrite this project
Same problem here
A solution could be this https://react-hook-form.com/get-started
Version
element-react 1.4.34
Component
Form
Description
When using
const refForm = React.useRef()
, I can't callrefForm.validate
because it's not existing on refForm property.Solution
Please use React hook to rewrite this project