Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #979 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

selectfield widgets should support the case where the value is the same as the label

Reported by: kevin Owned by: anonymous
Priority: normal Milestone: 1.0b1
Component: TG Widgets Version: 0.9a5
Severity: normal Keywords:


Currently, you get a horribly cryptic error if you use something like this:

SingleSelectField?(options=["Foo", "Bar", "Baz"])

Arguably, this should be supported directly. It certainly shouldn't yield this error: ValueError?: dictionary update sequence element #0 has length 1; 2 is required in attrs

Change History

comment:1 Changed 13 years ago by alberto

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

Implemented at [1682]

Note: See TracTickets for help on using tickets.