ElemeFE / ElemeFE/element-react
Form validation not compatible with React hook useRef()
Open
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 435
- PR merge metrics
- No merged PRs in 30d
Description
### Version
element-react 1.4.34
### Component
Form
### Description
When using `const refForm = React.useRef()`, I can't call `refForm.validate` because it's not existing on refForm property.
### Solution
Please use React hook to rewrite this project
Contributor guide
Assessment
This issue has not been assessed yet.