mirror of
https://github.com/wassname/wtforms-parsleyjs.git
synced 2026-08-02 13:10:19 +08:00
WTForms uses -1 to denote not min/max value. This makes the range and rangelength validators incorrect. This patch falls back to min/max and minlength/maxlength validation when one of the range values is -1.