Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions components/form/form_events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,9 @@ View data Same as in ``FormEvents::POST_SET_DATA``

.. sidebar:: ``FormEvents::SUBMIT`` in the Form component

The ``Symfony\Component\Form\Extension\Core\EventListener\ResizeFormListener``
subscribes to the ``FormEvents::SUBMIT`` event in order to remove the
fields that need to be removed whenever manipulating a collection of forms
for which ``allow_delete`` has been enabled.
The ``Symfony\Component\Form\Extension\Core\EventListener\FixUrlProtocolListener``
subscribes to the ``FormEvents::SUBMIT`` event in order to prepend a default
protocol to URL field data that was submitted without a protocol.

C) The ``FormEvents::POST_SUBMIT`` Event
........................................
Expand Down