redux-form Field and Checkbox react-toolbox value checked from object
<p>I have this data:</p>

<pre><code>...
initialValues: {
  alarm: 'normal',
  days: { mon: true, tue: true, wed: true, thu: false, friday: true }
}
...
</code></pre>

<p>to render, I do the following.</p>

<pre><code>&lt;Field name="days" component={({ input }) =&gt; {
  return (
    &lt;div className='days-container'&gt;
      &lt;Checkbox label='Monday' checked={input.value.mon} onChange={input.onChange} /&gt;
      &lt;Checkbox label='Tuesday' checked={input.value.tue} onChange={input.onChange} /&gt;
      ...
    &lt;/div&gt;
  )
}}/&gt;
</code></pre>

<p>but days value becomes Boolean:</p>

<pre><code>days: true
</code></pre>

<p>as you would to maintain the initial structure?</p>