Controller:
$formData = new User(); // Your form data class. Has to be an object, won't work properly with an array.
$flow = $this->get('App\Form\RegistrationFlow');
$flow->bind($formData);
// form of the current step
$form = $flow->createForm();
Version symfony 5.2.
Why is this happening? I followed the documentation. Thanks
Version symfony 5.2.
Why is this happening? I followed the documentation. Thanks