endless-jadeE
Refine2y ago
1 reply
endless-jade

Button click not working

Hello All, I have a form that suddenly doesn' t work I have been upgrading the project to 4 and am pretty sure it was working after a upgrade for a while. Clicking the button doesn't do anything at all.

return (
    <Form key="UploadDocumentForm" onSubmitCapture={(handleSubmit(onSubmit))}>
      <Form.Item
        label="Assignee: "
        name="fullName"
        id="fullName"
        rules={[{ required: true, message: 'Please input assignee name!' }]}
      >
        <Input />
      </Form.Item>

     <CreateButton value="Submit" disabled={isUploading} />
    </Form >
  );
};


I am using Form tag from antd and useForm hook for react-hook. Thanks for your help!
Was this page helpful?