- Fixed a bug where a custom form context would never be applied
This commit is contained in:
1 parent
23e8eb71f6
commit
ff57fed699
6 files changed
+92
-6
No files matched your search
+1
-1
@@ -50,6 +50,6 @@ class Form implements Extension {
|
||||
|
||||
public function formClass(FormInterface $form, ? FormContext $formContext = null) : FormHandler
|
||||
{
|
||||
return new FormHandler($this->request, $form, $formContext ?? $this->formContext ?? null);
|
||||
return new FormHandler($this->request, $form, $formContext);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user