From 99a8b8b7a418c53edcdead9b93ccb58a4a52c2f5 Mon Sep 17 00:00:00 2001 From: Dalibor Korpar Date: Wed, 20 Mar 2024 07:05:52 +0100 Subject: [PATCH] set SubmitterControl default to false --- src/Forms/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/Form.php b/src/Forms/Form.php index 21d6a298..b63a4b4f 100644 --- a/src/Forms/Form.php +++ b/src/Forms/Form.php @@ -204,7 +204,7 @@ class Form extends Container implements Nette\HtmlStringable public Nette\Http\IRequest $httpRequest; protected bool $crossOrigin = false; private static ?Nette\Http\IRequest $defaultHttpRequest = null; - private SubmitterControl|bool $submittedBy; + private SubmitterControl|bool $submittedBy = false; private array $httpData; private Html $element; private FormRenderer $renderer;