Opened 4 years ago
Last modified 4 years ago
#32110 closed Cleanup/optimization
Allow using an Enum class in form Field choices — at Version 1
Reported by: | Claude Paroz | Owned by: | nobody |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
Similarly to what was done for model fields, it would be nice to have the choices
form field attribute also support enum data.
Note:
See TracTickets
for help on using tickets.