alex / alex/django-ajax-validation

Handle multiple errors per field

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
251
Forks
57
PR merge metrics
No merged PRs in 30d

Description

If multiple errors are associated with a field, they are showed togheter in a single

  • item inside the
      list.

      This does not make sense: every field error should be inside its own

    • element.

      I suggest to edit the jquery-ajax-validation.js file changing the various occurrences of

      ```
      error.before('

      • ' + val + '
      ');
      ```

      to

      ```
      error.before('

      • ' + val.join('
      • ') + '
      ');
      ```
  • Contributor guide

    No contributing guide indexed for this repository

    Assessment

    This issue has not been assessed yet.

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.