@@ -62,8 +62,8 @@ The ``FormEvents::PRE_SET_DATA`` event is dispatched at the beginning of the
6262:ref: `Form Events Information Table<component-form-event-table> `
6363
6464+-----------------+-----------+
65- | ** Data type ** | ** Value ** |
66- +-----------------+----------- +
65+ | Data type | Value |
66+ +=================+=========== +
6767| Model data | ``null `` |
6868+-----------------+-----------+
6969| Normalized data | ``null `` |
@@ -99,8 +99,8 @@ the form.
9999:ref: `Form Events Information Table<component-form-event-table> `
100100
101101+-----------------+------------------------------------------------------+
102- | ** Data type ** | ** Value ** |
103- +-----------------+------------------------------------------------------ +
102+ | Data type | Value |
103+ +=================+====================================================== +
104104| Model data | Model data injected into ``setData() `` |
105105+-----------------+------------------------------------------------------+
106106| Normalized data | Model data transformed using a model transformer |
@@ -141,8 +141,8 @@ It can be used to:
141141:ref: `Form Events Information Table<component-form-event-table> `
142142
143143+-----------------+------------------------------------------+
144- | ** Data type ** | ** Value ** |
145- +-----------------+------------------------------------------ +
144+ | Data type | Value |
145+ +=================+========================================== +
146146| Model data | Same as in ``FormEvents::POST_SET_DATA `` |
147147+-----------------+------------------------------------------+
148148| Normalized data | Same as in ``FormEvents::POST_SET_DATA `` |
@@ -171,8 +171,8 @@ It can be used to change data from the normalized representation of the data.
171171:ref: `Form Events Information Table<component-form-event-table> `
172172
173173+-----------------+-------------------------------------------------------------------------------------+
174- | ** Data type ** | ** Value ** |
175- +-----------------+------------------------------------------------------------------------------------- +
174+ | Data type | Value |
175+ +=================+===================================================================================== +
176176| Model data | Same as in ``FormEvents::POST_SET_DATA `` |
177177+-----------------+-------------------------------------------------------------------------------------+
178178| Normalized data | Data from the request reverse-transformed from the request using a view transformer |
@@ -203,8 +203,8 @@ It can be used to fetch data after denormalization.
203203:ref: `Form Events Information Table<component-form-event-table> `
204204
205205+-----------------+---------------------------------------------------------------+
206- | ** Data type ** | ** Value ** |
207- +-----------------+--------------------------------------------------------------- +
206+ | Data type | Value |
207+ +=================+=============================================================== +
208208| Model data | Normalized data reverse-transformed using a model transformer |
209209+-----------------+---------------------------------------------------------------+
210210| Normalized data | Same as in ``FormEvents::POST_SUBMIT `` |
@@ -242,19 +242,19 @@ processed.
242242
243243.. _component-form-event-table :
244244
245- +--------------------+-------------------------------+------------------+
246- | ** Name ** | ``FormEvents `` ** Constant ** | ** Event's data ** |
247- +--------------------+-------------------------------+------------------ +
248- | form.pre_set_data | ``FormEvents::PRE_SET_DATA `` | Model data |
249- +--------------------+-------------------------------+------------------+
250- | form.post_set_data | ``FormEvents::POST_SET_DATA `` | Model data |
251- +--------------------+-------------------------------+------------------+
252- | form.pre_bind | ``FormEvents::PRE_SUBMIT `` | Request data |
253- +--------------------+-------------------------------+------------------+
254- | form.bind | ``FormEvents::SUBMIT `` | Normalized data |
255- +--------------------+-------------------------------+------------------+
256- | form.post_bind | ``FormEvents::POST_SUBMIT `` | View data |
257- +--------------------+-------------------------------+------------------+
245+ +------------------------ +-------------------------------+------------------+
246+ | Name | ``FormEvents `` Constant | Event's data |
247+ +========================+===============================+================== +
248+ | `` form.pre_set_data `` | ``FormEvents::PRE_SET_DATA `` | Model data |
249+ +------------------------ +-------------------------------+------------------+
250+ | `` form.post_set_data `` | ``FormEvents::POST_SET_DATA `` | Model data |
251+ +------------------------ +-------------------------------+------------------+
252+ | `` form.pre_bind `` | ``FormEvents::PRE_SUBMIT `` | Request data |
253+ +------------------------ +-------------------------------+------------------+
254+ | `` form.bind `` | ``FormEvents::SUBMIT `` | Normalized data |
255+ +------------------------ +-------------------------------+------------------+
256+ | `` form.post_bind `` | ``FormEvents::POST_SUBMIT `` | View data |
257+ +------------------------ +-------------------------------+------------------+
258258
259259.. versionadded :: 2.3
260260
0 commit comments