- Fixed a bug where a custom form context would never be applied

This commit is contained in:
mcndave committed 2020-03-31 11:09:08 -04:00
1 parent 23e8eb71f6
commit ff57fed699
6 files changed
+92 -6

No files matched your search

+1 -1
View File
@@ -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);
}
}