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
I am unsure on how to do form validation with the antd <Form/> component found here. The documentation specifies an onSubmit prop on the <Form/> component, which is passed an event. It then seems to trigger a function inside this.props.form. I am currently using the following code:
Ant Design team use GitHub issues to trace bugs or discuss plans of Ant Design. So, please don't ask usage questions here. You can try to ask questions in Stack Overflow or Segment Fault, then apply tag antd and react to your questions.
@benjycui there is nothing useful answers in Stack overflow. and shut the fuck up the same replies to every questions of ant design MF. i can see you every git issue of ant design bullshit
I am unsure on how to do form validation with the antd
<Form/>
component found here. The documentation specifies anonSubmit
prop on the<Form/>
component, which is passed an event. It then seems to trigger a function insidethis.props.form
. I am currently using the following code:I am unable to retrieve values from the event passed into the submit callback, as
e.target.value
returns undefined.In the call to
this.props.validateFields()
, as shown in the documentation, where are these values coming from?The text was updated successfully, but these errors were encountered: