NYPD / ritsu.js

HTML form validation
MIT License
2 stars 0 forks source link

Showing errors messages when useBootstrap3 is enabled should be more resilient #97

Closed NYPD closed 6 years ago

NYPD commented 6 years ago

For example, if an input is in a <td> but has no surrounding <div class="form-group"> ritsu.js throws an error as it tries to do a querySelector('.help-block') on a null formGroup.

ritsu should either provide a descriptive message in the console with the error, or should default back to standard error output (prob the latter)