Add `nonform` CSS class for non form errors in FormSets
Forms add the nonfield
CSS class for non field errors in ErrorList instances. This is documented in a section on rendering form error messages. Similarly, in FormSets I'd expect to see the nonform
CSS class added for non form errors. This would allow a custom ErrorList to make a distinction in form field errors, non field errors (forms) and non form errors (FormSets) when rendering error messages. Therefore I'd suggest to add this nonform
CSS class and document it for developers to use.
Change History
(7)
Owner: |
changed from nobody to Ties Jan Hefting
|
Easy pickings: |
unset
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Cleanup/optimization → New feature
|
Description: |
modified (diff)
|
Has patch: |
set
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Seems reasonable (similar to #11776).