-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hello all,
I get a "Call to an undefined method Symfony\Component\Form\FormInterface::getClickedButton()." error when working with Symfony Forms using the following code (within a Symfony Controller class):
$form = $this->createForm(...); $clickedButton = $form->getClickedButton();
The second line will raise the error since the createForm
method returns a FormInterface
ThomasLandauer
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed