title: How to set value dynamically inside Form.List using setFieldsValue in Antd 4?
body: <pre><code>&lt;Form&gt;
     &lt;Form.List name=&quot;projects&quot;&gt;
     {fields =&gt; 
     ...
        fields.map(field =&gt; &lt;Form.Item name={[field.key, &quot;type&quot;]} hidden={true} initialValue={type} /&gt;)
     ...
     }
     &lt;/Form.List&gt;
  
  &lt;/Form&gt;
  </code></pre>
  <p>Whenever <code>type</code> changes, I want to set Item value dynamically.
  I think I can get form instance using the <code>useForm</code> and use the <code>setFieldsValue</code> like below.</p>
  <pre><code>form = useForm()
  onChange(type) {
     form.setFieldsValue(/* values here */)
  }
  </code></pre>
  <p>But I am not sure how to use the <code>form.setFieldsValue</code> to refer item inside Form.List.</p>
  <p>Who can give me solution?</p>