Skip to content

Commit

Permalink
bugfix if add GroupTextareaAction - method \Nette\Forms\Container::ad…
Browse files Browse the repository at this point in the history
…dTextArea require first parameter as string
  • Loading branch information
Václav Pávek authored and paveljanda committed Feb 20, 2020
1 parent 36ed9f3 commit 8955714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GroupAction/GroupActionCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function addToFormContainer(Container $container): void
->endCondition();

} elseif ($action instanceof GroupTextareaAction) {
$control = $container->addTextArea($id, '');
$control = $container->addTextArea((string) $id, '');

$control->setAttribute('id', self::ID_ATTRIBUTE_PREFIX . $id)
->addConditionOn($groupActionSelect, Form::EQUAL, $id)
Expand Down

0 comments on commit 8955714

Please sign in to comment.