Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2095 closed enhancement (fixed)

[patch] allow choices to be any sequence, not just tuple or list

Reported by: Matias Hermanrud Fjeld <mhf@…> Owned by: adrian
Component: Core (Other) Version:
Severity: trivial Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This patch allows the 'choices' property on fields to be any sequence, not just a tuple or list. Useful for creating choices on-the-fly.

Attachments (1)

choices.diff (836 bytes) - added by Matias Hermanrud Fjeld 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Matias Hermanrud Fjeld

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [3094]) Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.