Document BoundField.id_for_label and how to set the 'id' of a widget
By the accepted answer on this stackoverflow question, it seems it is possible to override the 'id' attribute of a widget without interfering with django's forms framework.
I think this issue of initial values of attrs should be better documented on built-in widgets.
Change History
(5)
Owner: |
changed from nobody to Tim Graham
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Cc: |
timograham@… added
|
Has patch: |
set
|
Summary: |
Documenting form widget initial attrs → Document BoundField.id_for_label and how to set the 'id' of a widget
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
I'll work on this. Think it makes sense to also document
BoundField.id_for_label
as noted in #12856.