title: Datetime picker not working on input with existing data
body: <p>I'm having trouble with the datetimepicker. I have a form that has date inputs. These inputs work on submit. However, The form can be edited, and when a user goes to edit a form all the inputs are filled in with their(users) info.</p>
  
  <p>For some reason, when I click on the calendar button for the date input when data is already there, a small circle with a line appears, and doesn't let me pick a new date.</p>
  
  <p>If I go into the input and delete the date, then I can pick a new date with the picker. This however will write as an empty date in the db on submit. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('.date').datetimepicker({
    formatDate: 'yyyy-mm-dd',
    pickTime: false
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;td class="text-left"&gt;
    &lt;div class="input-group date required"&gt;
      &lt;input type="text" name="component_module[&lt;?php echo $component_row; ?&gt;][component_start_date]" value="&lt;?php echo $component_module['component_start_date']; ?&gt;" class="form-control" /&gt;
      &lt;span class="input-group-btn" id="component-calendar-btn"&gt;
        &lt;button class="btn btn-default" type="button"&gt;
          &lt;i class="fa fa-calendar"&gt;&lt;/i&gt;
        &lt;/button&gt;
      &lt;/span&gt;
    &lt;/div&gt;
  &lt;/td&gt;</code></pre>
  </div>
  </div>
  </p>