#28890 closed Bug (fixed)
Broken layout due to whitespace in multiwidget rendering
Reported by: | Nick Pope | Owned by: | Nick Pope |
---|---|---|---|
Component: | Forms | Version: | 1.11 |
Severity: | Normal | Keywords: | whitespace, multiwidget, widgets |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Since upgrading to 1.11, due to the addition of template-based widget rendering in #15667, I've experienced some form layouts breaking.
This is due to the way that white-space is handled in the templates which was previously not an issue when strings were being joined in MultiWidget.format_output()
.
This may well affect more than MultiWidget
.
See the attached screenshot - top is how things looked before, bottom is how things look after upgrading to 1.11.
Attachments (1)
Change History (5)
by , 7 years ago
Attachment: | multiwidget-spacing-bug.png added |
---|
comment:1 by , 7 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In e014f91: