Opened 17 years ago

Closed 17 years ago

#3054 closed defect (fixed)

[newforms] Form doesn't define order of form fields

Reported by: Esaj Owned by: Adrian Holovaty
Component: Core (Other) Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Form.as_table() seems to output the form fields in an arbitrary order. Form fields should have some kind of order - maybe use a list instead of a dict to store them in the Form ?

Change History (3)

comment:1 by Adrian Holovaty, 17 years ago

Good call. We can use the same technique we use in Django models to keep the fields in the right order.

comment:2 by Adrian Holovaty, 17 years ago

(In [4092]) newforms: Added unit test to test field order. Refs #3054

comment:3 by Adrian Holovaty, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in [4093].

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