title: Parsley.js 1.x - Error when form data attributes are changed on the fly
body: <p>My Parsley error message on the first keyup event when typing into field <code>#myTestField</code>is</p>
  
  <blockquote>
    <p>This value is too short. It should have <strong>4 characters</strong> or more.</p>
  </blockquote>
  
  <p>I tryed to change Parsley field data attributes on the fly, but it seems this doesn't work. It keeps the value assigned in first place (html form) without taking in account the modified one in the JS code.</p>
  
  <p>On Chrome I can check that the data attribute value is changed after the DOM is loaded.</p>
  
  <p>My code is</p>
  
  <pre><code>&lt;form name="myForm" id="myForm"&gt;
      &lt;input type="text" name="myTestField" id="myTestField" data-trigger="keyup" data-minlength="4" data-validation-minlength="0" &gt;
      &lt;button id="mySubmitButton" type="submit" &gt;Save&lt;/button&gt;
  &lt;/form&gt;
  
  &lt;script&gt;
  // wait for the DOM to be loaded 
      $(document).ready(function() {
      // destroy
      $('#myForm').parsley('destroy');
      // change attribute
      $('#myTestField').attr('data-minlength','2');
      // assign parsley to do the job
      $('#myForm').parsley();
        });
  &lt;/script&gt;
  </code></pre>
  
  <p>I am doing something wrong?</p>
  
  <p>UPDATE:</p>
  
  <p>This is a known issue of Parsley.js and theres a <a href="https://github.com/guillaumepotier/Parsley.js/issues/52" rel="nofollow">Issue #52 on GitHub</a>  </p>
  
  <p>I also tried to use <code>removeItem()</code> followed by <code>addItem()</code> on the same input #Id but didn't work either.</p>
  
  <p>I'm still trying to figure out a workaround</p>