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
Warning: Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: an object with keys {getFieldValue, getFieldsValue, getFieldError, getFieldsError, isFieldsTouched, isFieldTouched, isFieldValidating, isFieldsValidating, resetFields, setFields, setFieldsValue, validateFields, submit, getInternalHooks, __INTERNAL__, scrollToField}.
in ForwardRef(InternalForm)
in Unknown
in div
Environment
Info
antd
4.0.0
React
16.13.0
System
MacOS 10.15.3
Browser
Google Chrome 80.0.3987.122 (Official Build) (64-bit)
After you click Submit, there is another warning:
Warning: Instance created by `useForm` is not connect to any Form element. Forget to pass `form` prop?
The text was updated successfully, but these errors were encountered:
Maybe related to: #21693
Reproduction link
Steps to reproduce
Open reproduction link and look at the console.
What is expected?
no errors/warnings
What is actually happening?
See warning
After you click Submit, there is another warning:
The text was updated successfully, but these errors were encountered: