title: Selecting an value and forming an array object
body: <p>I want to create data from available data to form an array of objects,</p>
  <p>Like example - I have data of array object like this</p>
  <pre><code>[
      {
          _id: &quot;some id&quot;,
          name: &quot;Example&quot;,
          value: &quot;value,
      },
      {
          _id: &quot;some id&quot;,
          name: &quot;Example&quot;,
          value: &quot;value,
      }
      {
          _id: &quot;some id&quot;,
          name: &quot;Example&quot;,
          value: &quot;value,
      }
  ]
  </code></pre>
  <p>Now I am collecting data and want to form an array of the object from the above data:</p>
  <pre><code>[
      {
          value_id:&quot;some id&quot;
      },
      {
          value_id:&quot;some id&quot;
      },
      {
          value_id:&quot;some id&quot;
      }
  ]
  </code></pre>
  <p>like above as an output:
  here's a link for that I am trying to render table as selected table values,
  Using ant design</p>
  <p><a href="https://codesandbox.io/s/magical-field-rw3m2?file=/index.js" rel="nofollow noreferrer">https://codesandbox.io/s/magical-field-rw3m2?file=/index.js</a></p>
  <p>Can someone help me with this?</p>
  <p>Edit- At codesandbox, I want the same, when I check the item then it be as an above expected output. Like when I select Filter 0 and Filter 1 then the id of both would be there</p>
  <pre><code> [
          {
              value_id:&quot;some id&quot;
          },
          {
              value_id:&quot;some id&quot;
          }
      ]
  </code></pre>