[Zope3-dev] sorting "allowed values" in text widget
Fred L. Drake, Jr.
fred at zope.com
Tue Aug 12 23:10:47 EDT 2003
Garrett Smith writes:
> Currently the list of "allowed values" is sorted in alphabetical order
> when a text widget is rendered as a dropdown. Does anyone mind if remove
> the sort so that the order reflects the order of the items in
> allowed_values?
Sounds like it should be removed. It's easy to add sorting through
careful initialization or subclassing, and difficult to avoid if done
unconditionally in the base implementation.
-Fred
--
Fred L. Drake, Jr. <fred at zope.com>
PythonLabs at Zope Corporation
More information about the Zope3-dev
mailing list