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'); }