Skip to content

Commit

Permalink
Require new juniwalk/utils
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Feb 21, 2024
1 parent c228ca4 commit 57f40b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

"require": {
"php": ">=8.1",
"juniwalk/utils": ">=2.4.1",
"juniwalk/utils": ">=2.9.2",
"juniwalk/orm": ">=0.7",
"nette/application": "^3.0",
"nette/forms": "^3.0",
Expand Down
4 changes: 2 additions & 2 deletions src/AbstractForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ public function renderModal(bool $keyboard = false, bool|string $backdrop = 'sta
$this->setLayout(Layout::Modal);
$this->onRender[] = fn($self, $template) => $template->setParameters([
'modalOptions' => [
'data-backdrop' => Format::scalarize($backdrop),
'data-keyboard' => Format::scalarize($keyboard),
'data-backdrop' => Format::stringify($backdrop),
'data-keyboard' => Format::stringify($keyboard),
],
]);

Expand Down

0 comments on commit 57f40b2

Please sign in to comment.