vivin / regula

Regula: An annotation-based form-validation framework in Javascript
126 stars 24 forks source link

Re-binding results in an null pointer #5

Closed vivin closed 13 years ago

vivin commented 13 years ago

When binding programmatically, regula adds the "regula-validation" class to the element. If bind() is called a second time, this results in an null-pointer error because the constraint-definition string is null.