Skip to content

Commit

Permalink
Merge pull request #43 from systopia/ArrayArrayFactory-set-input-false
Browse files Browse the repository at this point in the history
ArrayArrayFactory: Set `#input` to `FALSE` for the table element
  • Loading branch information
dontub authored Dec 13, 2023
2 parents 5ead2d4 + 70b3528 commit 2d93a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Control/ArrayArrayFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function createFormArray(DefinitionInterface $definition,
$arrayLayoutDefinition = $this->createLayoutDefinition($definition);
if ('TableRow' === $arrayLayoutDefinition->getType()) {
$form['items']['#type'] = 'table';
$form['items']['#parents'] = array_merge($internalParentsPrefix, ['table']);
$form['items']['#input'] = FALSE;
$form['items']['#header'] = $this->buildTableHeader($arrayLayoutDefinition);
}

Expand Down

0 comments on commit 2d93a05

Please sign in to comment.