@@ -1503,6 +1503,18 @@ def menu(self, size=None, height=None, showid=0, additional=[],
15031503 sort_on = None , ** conditions ):
15041504 ''' Render a form select list for this property
15051505
1506+ "size" is used to limit the length of the list labels
1507+ "height" is used to set the <select> tag's "size" attribute
1508+ "showid" includes the item ids in the list labels
1509+ "additional" lists properties which should be included in the
1510+ label
1511+ "sort_on" indicates the property to sort the list on as
1512+ (direction, property) where direction is '+' or '-'.
1513+
1514+ The remaining keyword arguments are used as conditions for
1515+ filtering the items in the list - they're passed as the
1516+ "filterspec" argument to a Class.filter() call.
1517+
15061518 If not editable, just display the value via plain().
15071519 '''
15081520 self .view_check ()
@@ -1657,6 +1669,18 @@ def menu(self, size=None, height=None, showid=0, additional=[],
16571669 sort_on = None , ** conditions ):
16581670 ''' Render a form select list for this property
16591671
1672+ "size" is used to limit the length of the list labels
1673+ "height" is used to set the <select> tag's "size" attribute
1674+ "showid" includes the item ids in the list labels
1675+ "additional" lists properties which should be included in the
1676+ label
1677+ "sort_on" indicates the property to sort the list on as
1678+ (direction, property) where direction is '+' or '-'.
1679+
1680+ The remaining keyword arguments are used as conditions for
1681+ filtering the items in the list - they're passed as the
1682+ "filterspec" argument to a Class.filter() call.
1683+
16601684 If not editable, just display the value via plain().
16611685 '''
16621686 self .view_check ()
0 commit comments