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
In documentation for the mapPropsToFields function it is written:
Please note that the form fields will become controlled components. Properties like errors will not be automatically mapped and need to be manually passed in.
The above example uses the mapPropsToFields function.
Please explain why form field validation works. (how errors manually passed in)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The antd website has the following code example:
https://codesandbox.io/s/hx459?file=/index.js
In documentation for the mapPropsToFields function it is written:
Please note that the form fields will become controlled components. Properties like errors will not be automatically mapped and need to be manually passed in.
The above example uses the mapPropsToFields function.
Please explain why form field validation works. (how errors manually passed in)
Beta Was this translation helpful? Give feedback.
All reactions