Skip to content
Snippets Groups Projects
Commit 086232ad authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fixed fields in dataforms don't have multiple <value/> elements. see #3200

parent 6d9ea872
No related branches found
No related tags found
No related merge requests found
......@@ -59,8 +59,7 @@ def Field(typ, **attrs):
''' Helper function to create a field of given type. '''
f = {
'boolean': BooleanField,
# not editable, still can have multiple lines of text
'fixed': TextMultiField,
'fixed': StringField,
'hidden': StringField,
'text-private': StringField,
'text-single': StringField,
......@@ -80,7 +79,7 @@ def ExtendField(node):
typ=node.getAttr('type')
f = {
'boolean': BooleanField,
'fixed': TextMultiField,
'fixed': StringField,
'hidden': StringField,
'text-private': StringField,
'text-single': StringField,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment