Add FormFactoryBuilderService to Service Locator

This commit is contained in:
Eric Espie
2026-01-27 13:34:47 +01:00
parent bfa7a209d6
commit f3fddfe54e
9 changed files with 72 additions and 28 deletions

View File

@@ -36,7 +36,7 @@ class FormsController extends Controller
// Get the form block from the service (and the compiler)
$oFormBlock = $this->oFormBlockService->GetFormBlockById($sDashletClass, 'Dashlet');
$oBuilder = $this->GetFormBuilder($oFormBlock, []);
$oBuilder = $this->oFormFactoryBuilderService->GetFormBuilder($oFormBlock, []);
$oForm = $oBuilder->getForm();
$oForm->handleRequest($oRequest);