From 9f293d794d00d4feda00778e1a8b490a0153ee78 Mon Sep 17 00:00:00 2001 From: Jonas Rittershofer Date: Sun, 10 May 2020 13:25:57 +0200 Subject: [PATCH] Fix Results initalState missing Signed-off-by: Jonas Rittershofer --- lib/Controller/PageController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 92316b3..d4a1f58 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -171,6 +171,7 @@ class PageController extends Controller { public function getResult(): TemplateResponse { Util::addScript($this->appName, 'forms'); Util::addStyle($this->appName, 'forms'); + $this->initialStateService->provideInitialState($this->appName, 'maxStringLengths', $this->maxStringLengths); return new TemplateResponse($this->appName, 'main'); }