Opened 18 years ago
Closed 18 years ago
#3870 closed (fixed)
a couple widgets not passing along attrs to render()
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
RadioSelect
is setting a local variable in its render()
method without touching self.attrs
:
attrs = attrs or {}
and MultiWidget
doesn't touch self.attrs
either before calling render()
on each Widget
.
Attachments (1)
Change History (4)
by , 18 years ago
comment:1 by , 18 years ago
Has patch: | set |
---|---|
Needs tests: | set |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 18 years ago
#4080 marked as duplicate. That ticket's patch also added the attributes to the <ul>
produced by RadioFieldRenderer
, but maybe that could be a separate ticket as that is a new feature, whereas this is a bug fix.
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
use self.build_attrs