diff --git a/src/Application/UI/Form.php b/src/Application/UI/Form.php index a5be276de..bd696f6db 100644 --- a/src/Application/UI/Form.php +++ b/src/Application/UI/Form.php @@ -42,7 +42,7 @@ protected function validateParent(Nette\ComponentModel\IContainer $parent): void } if (!$this->getAction()) { - $this->setAction(new Link($presenter, 'this')); + $this->setAction(new Link($presenter, 'this', $presenter->getParameters())); } $controls = $this->getControls();