Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d86565f

Browse files
committed
Fix ArrayTransfomrmer to render more than one child if present
1 parent b447b1b commit d86565f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Limenius/Liform/Transformer/ArrayTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function transform(FormInterface $form, $extensions = [], $widget = null)
5858
$schema = [
5959
'type' => 'array',
6060
'title' => $form->getConfig()->getOption('label'),
61-
'items' => $children[0],
61+
'items' => $children,
6262
];
6363

6464
$schema = $this->addCommonSpecs($form, $schema, $extensions, $widget);

0 commit comments

Comments
 (0)