File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -194,10 +194,9 @@ View data Same as in ``FormEvents::POST_SET_DATA``
194
194
195
195
.. sidebar :: ``FormEvents::SUBMIT`` in the Form component
196
196
197
- The ``Symfony\Component\Form\Extension\Core\EventListener\ResizeFormListener ``
198
- subscribes to the ``FormEvents::SUBMIT `` event in order to remove the
199
- fields that need to be removed whenever manipulating a collection of forms
200
- for which ``allow_delete `` has been enabled.
197
+ The ``Symfony\Component\Form\Extension\Core\EventListener\FixUrlProtocolListener ``
198
+ subscribes to the ``FormEvents::SUBMIT `` event in order to prepend a default
199
+ protocol to URL fields that were submitted without a protocol.
201
200
202
201
C) The ``FormEvents::POST_SUBMIT `` Event
203
202
........................................
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ Handling the Form Submission
199
199
Next, you need a controller to handle the form. Start by creating a simple
200
200
controller for displaying the registration form::
201
201
202
- // src/AppBundle/Controller/AccountController .php
202
+ // src/AppBundle/Controller/RegistrationController .php
203
203
namespace AppBundle\Controller;
204
204
205
205
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
You can’t perform that action at this time.
0 commit comments