Opened 8 years ago

Last modified 7 years ago

#27387 closed Cleanup/optimization

Rendering "required" as HTML attribute is not documented — at Initial Version

Reported by: karyon Owned by: nobody
Component: Documentation Version: 1.10
Severity: Normal Keywords:
Cc: karyon Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://docs.djangoproject.com/en/1.10/releases/1.10/#forms says

Required form fields now have the required HTML attribute. Set the new Form.use_required_attribute attribute to False to disable it. The required attribute isn’t included on forms of formsets because the browser validation may not be correct when adding and deleting formsets.

i would expect all of that (it's rendered, can be disabled, isn't rendered in formsets) to appear somewhere around https://docs.djangoproject.com/el/1.10/ref/forms/fields/#required, but it does not.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top