You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am dealing with a complex form that attaches two layout helpers to one form as parts of the form are rendered in two different locations. Unfortunately, there is currently no option to disable the non_field_errors on its own (only all field errors using form_show_errors). That is why these non_field_errors are rendered twice in this case (on top of each form helper). I must overwrite the whole form template to disable the "non_field_errors" on one of these layouts.
Wouldn't something like form_show_non_field_errors be a good addition to django_crispy_forms? It would also help if the non_field_errors should be rendered in a completely different location (and not just at the top of the form).
The text was updated successfully, but these errors were encountered:
Description:
I am dealing with a complex form that attaches two layout helpers to one form as parts of the form are rendered in two different locations. Unfortunately, there is currently no option to disable the
non_field_errors
on its own (only all field errors usingform_show_errors
). That is why thesenon_field_errors
are rendered twice in this case (on top of each form helper). I must overwrite the whole form template to disable the "non_field_errors" on one of these layouts.Wouldn't something like
form_show_non_field_errors
be a good addition todjango_crispy_forms
? It would also help if thenon_field_errors
should be rendered in a completely different location (and not just at the top of the form).The text was updated successfully, but these errors were encountered: