Commit 1119baea authored by Jérome Perrin's avatar Jérome Perrin

core: make Base_hashCategoryList understand disabled items

value of None is diferent from '', '' is the empty value when nothing is
selected, but None is a disabled item
parent cd5ce7f6
......@@ -18,7 +18,7 @@ default_sub_field_property_dict.update(title=' ',
field_type='ListField',
size=1,
item_list=[('', '')] + item_list,
value=None)
value='')
for value in value_list:
new_dict = default_sub_field_property_dict.copy()
new_dict['value'] = value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment