[Grok-dev] schema.List widget with non-unique values from a Choice

Jeroen Michiel jmichiel at yahoo.com
Wed May 13 04:28:20 EDT 2009



Sebastian Ware wrote:
> 
> Try something like:
> 
> contact_type = schema.List(title=u"Typy",  
> value_type=schema.Choice(vocabulary = 'Contact Types'), unique=False)
> 
> Mvh Sebastian
> 
Well, that's actually what I started out with, but that doesn't seem to
work: apparently the unique parameter is not taken into account while
rendering the widget, so you can't add' doubles' into the list.
-- 
View this message in context: http://www.nabble.com/schema.List-widget-with-non-unique-values-from-a-Choice-tp23349366p23517542.html
Sent from the Grok mailing list archive at Nabble.com.



More information about the Grok-dev mailing list