alex / alex/django-ajax-validation

Handle multiple errors per field

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
251
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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('
      • ') + '
      ');
      ```
  • Guida per i contributori

    Nessuna guida per i contributori indicizzata per questo repository

    Valutazione

    Questa issue non è ancora stata valutata.

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.