#979: selectfield widgets should support the case where the value is the same as
the label
---------------------+------------------------------------------------------
Reporter: kevin | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0b1
Component: 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
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/979>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---