Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#16830 closed Bug (invalid)

Radioselect input loose id after invalid submission

Reported by: social@… Owned by: Nelson Monteiro
Component: HTTP handling Version: 1.3
Severity: Normal Keywords: html, radioselect, forms
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The radioselected input loose id after invalid submission

Before form submission the radioselect output is '<input type="radio" id="id_foo_0" name="foo" value="0" />' and after invalid submission the output is '<input type="radio" name="foo" value="0" />'

I detected this with a PositiveSmallIntegerField with choices.

Change History (4)

comment:1 Changed 5 years ago by anonymous

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

comment:2 Changed 5 years ago by Aymeric Augustin

Resolution: invalid
Status: closedreopened

Not sure why this was closed — reopening so that either the original reporter or the anonymous can clarify...

comment:3 Changed 5 years ago by nelson.reis.monteiro@…

Resolution: invalid
Status: reopenedclosed

Was my mistake, there is no bug... So I closed. Sorry!

comment:4 Changed 5 years ago by Aymeric Augustin

OK, thanks — I just wanted to make sure you were both the original reporter and the anonymous :)

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