Opened 5 years ago
Last modified 5 years ago
#32110 closed Cleanup/optimization
Allow using an Enum class in form Field choices — at Initial Version
| 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
Similarly to what was done for model fields, it would be nice to have the choices widget attribute also support enum data.
Note:
See TracTickets
for help on using tickets.