title: Input time flatpickr not working in javascript appending
body: <p>I have a table with a time input field using flatpickr. The time input is in a table format. The first 2 static time input fields are working. However, as I append the row with the time input field, the flatpickr does not work. can anyone guide me?</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>        $('.from').flatpickr({
              enableTime: true,
              noCalendar: true,
              time_24hr: true,
              minuteIncrement: 30
          });
          $('.to').flatpickr({
              enableTime: true,
              noCalendar: true,
              time_24hr: true,
              minuteIncrement: 30
          });
  
          $(document).on("click","#addmore",function() {
                  var html = "&lt;tr&gt;" +
                  "&lt;td&gt;&lt;input type='time' class='form-control flatpickr from' name='from[]' &gt;&lt;/td&gt;" +
                  "&lt;td&gt;&lt;input type='time' class='form-control flatpickr to' name='to[]' &gt;&lt;/td&gt;" +
                  "&lt;/tr&gt;";
                  // Append data
                  $('tbody').append(html);
              });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;head&gt;
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"&gt;
  &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/flatpickr/4.6.11/flatpickr.min.css" rel="stylesheet" /&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/flatpickr/4.6.11/flatpickr.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="container"&gt;
    &lt;div class="row justify-content-center"&gt;
      &lt;table&gt;
      &lt;tbody&gt;
        &lt;tr&gt;
          &lt;td&gt;&lt;input type="time" class="form-control flatpickr from" name="from[]"&gt;&lt;/td&gt;
          &lt;td&gt;&lt;input type="time" class="form-control flatpickr to" name="to[]"&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;&lt;input type="time" class="form-control flatpickr from" name="from[]"&gt;&lt;/td&gt;
          &lt;td&gt;&lt;input type="time" class="form-control flatpickr to" name="to[]"&gt;&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
      &lt;/table&gt;
      &lt;input type='button' class='btn btn-warning' value='&amp;#43; Add more rows' id='addmore'&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>