Commit 08854b58 authored by Romain Courteaud's avatar Romain Courteaud

Set default value of a RelationField as the default value of a TextField.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10319 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6d921f73
......@@ -55,6 +55,7 @@ class RelationStringFieldWidget(
MultiRelationField.MultiRelationStringFieldWidget.local_property_names
default_widget_rendering_instance = Widget.TextWidgetInstance
default = Widget.TextWidget.default
def _generateRenderValueList(self, field, key, value, REQUEST):
# value = value or NO_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