Skip to content

Commit

Permalink
fix: creation of wrong property for container
Browse files Browse the repository at this point in the history
  • Loading branch information
dakorpar committed Aug 25, 2023
1 parent eb3d034 commit 59d869e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/FormBuilder.php
Expand Up @@ -36,7 +36,7 @@ public function createForm(array $properties, BaseRequest $request, Container $f

if ($controlType === Control::CONTAINER) {
/** @phpstan-ignore-next-line */
$request->$property = [];
$request->{$property->getName()} = [];

/** @phpstan-ignore-next-line */
if (empty($data[$property->getName()])) {
Expand Down

0 comments on commit 59d869e

Please sign in to comment.