new flag for fields: show field content when empty
This commit is contained in:
parent
421ec2081a
commit
eb802de848
2 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,7 @@ def createField(field, info=None):
|
|||
readonly=field.readonly,
|
||||
#value_type=getattr(field, 'value_type', None),
|
||||
nostore=getattr(field, 'nostore', False),
|
||||
showEmpty=getattr(field, 'showEmpty', False),
|
||||
multiple=getattr(field, 'multiple', False),
|
||||
display_format=getattr(field, 'displayFormat', None),
|
||||
baseField=field,)
|
||||
|
|
|
@ -49,6 +49,7 @@ class Field(Component):
|
|||
required = False
|
||||
readonly = False
|
||||
nostore = False
|
||||
showEmpty = False
|
||||
standardFieldName = None
|
||||
vocabulary = None
|
||||
renderFactory = None
|
||||
|
|
Loading…
Add table
Reference in a new issue