title: Framework7 formToData not working
body: <p>I have a screen login in my aplication and to get the form data in framework i need to use formtoData but it wasnt working, so i decided to create another project and copy paste framework docs script but still isnt working. </p>
  
  <p>Index.html(the test project)</p>
  
  <pre><code>        &lt;div class="pages navbar-through toolbar-through"&gt;
              &lt;!-- Page, "data-page" contains page name --&gt;
              &lt;div data-page="index" class="page"&gt;
                  &lt;!-- Scrollable page content --&gt;
                  &lt;div class="page-content"&gt;
  
                          &lt;form id="my-form" class="list-block"&gt;
                          &lt;ul&gt;
                              &lt;li&gt;
                              &lt;div class="item-content"&gt;
                                  &lt;div class="item-inner"&gt;
                                  &lt;div class="item-title label"&gt;Name&lt;/div&gt;
                                  &lt;div class="item-input"&gt;
                                      &lt;input type="text" name="name" placeholder="Your name"&gt;
                                  &lt;/div&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
                              &lt;/li&gt;
                          &lt;/ul&gt;
                          &lt;/form&gt;
  
                          &lt;div class="content-block"&gt;
                          &lt;a href="#" class="button form-to-data"&gt;Get Form Data&lt;/a&gt;
                          &lt;/div&gt;
  
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>js (test project)</p>
  
  <pre><code>// Initialize app
  var myApp = new Framework7();
  
  
  // If we need to use custom DOM library, let's save it to $$ variable:
  var $$ = Dom7;
   $$('.form-to-data').on('click', function(){
    alert("dwdq");
  
    var formData = myApp.formToData('#my-form');
  
    alert(formData);
  });  
  </code></pre>
  
  <p>Does anyone know why is it not working? thx in advance.</p>