Skip to content

Commit

Permalink
For InformationCollection pass FieldDefinition when converting value …
Browse files Browse the repository at this point in the history
…to form
  • Loading branch information
Mario Blazek committed Nov 28, 2016
1 parent e615bc1 commit 4c13c32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Form/DataMapper/InformationCollectionMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ protected function mapToForm(

$form->setData(
$handler->convertFieldValueToForm(
$contentType->getFieldDefinition($fieldDefinitionIdentifier)->defaultValue
$contentType->getFieldDefinition($fieldDefinitionIdentifier)->defaultValue,
$fieldDefinition
)
);
}
Expand Down

0 comments on commit 4c13c32

Please sign in to comment.