title: How to get values of modal form antd
body: <p>I'm trying to create a form inside modal using react class component and antd, but i couldn't find a way to get the data submited in the form. i tried to console the <code>event</code> of the <code>onOk</code> in antd modal but i same no data.</p>
  <p>i also found an example but it was with function component and hooks <code>Form.useForm()</code></p>
  <p>here is the simple if anyone can help : <a href="https://codesandbox.io/s/1t1m3?file=/index.js" rel="nofollow noreferrer">Simple</a></p>
  <p>any hint will be helpful thanks.</p>