title: Reactjs- comboDatePicker validation and restoring state
body: <p>Hi I have got 2 problems in my code:</p>
  
  <ol>
  <li><p>I have a form which has common fields like name, user details. I am adding a date of birth field to the form. For that, using comboDatePicker. Problem is when I submit the form and come back to correct details on the form, all fields remain intact except Date of Birth. It goes back to default value.</p></li>
  <li><p>What is simplest way to make this date of birth as mandatory. </p></li>
  </ol>
  
  <p>Below is my code:</p>
  
  <pre><code>&lt;Row&gt;
      &lt;Col sm={6} md={12}&gt;
          &lt;FormGroup&gt;
             &lt;Col md={3} mdOffset={1}&gt;
                &lt;ControlLabel&gt;Date Of Birth&lt;/ControlLabel&gt;
             &lt;/Col&gt;
             &lt;Col md={6}&gt;
                &lt;ComboDatePicker 
                       placeholder="Year,Month,Date"
                       id="dateOfBirth"
                       ref={e =&gt; refs.dateOfBirth = e}
                       onValueUpdated={preSaveFormState}                                                                                 
           attrsYear={{className:"form-control pull-left", style: {width: "auto"}}}
           attrsMonth={{className:"form-control pull-left", style: {width: "auto"}}}
           attrsDate={{className:"form-control pull-left", style: {width: "auto"}}}
                /&gt;
            &lt;/Col&gt; 
          &lt;/FormGroup&gt;
      &lt;/Col&gt;
  &lt;/Row&gt; 
  </code></pre>