@@ -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 |
@@ -144,8 +144,8 @@ It can be used to:
144144:ref: `Form Events Information Table<component-form-event-table> `
145145
146146+-----------------+------------------------------------------+
147- | ** Data type ** | ** Value ** |
148- +-----------------+------------------------------------------ +
147+ | Data type | Value |
148+ +=================+========================================== +
149149| Model data | Same as in ``FormEvents::POST_SET_DATA `` |
150150+-----------------+------------------------------------------+
151151| Normalized data | Same as in ``FormEvents::POST_SET_DATA `` |
@@ -174,8 +174,8 @@ It can be used to change data from the normalized representation of the data.
174174:ref: `Form Events Information Table<component-form-event-table> `
175175
176176+-----------------+-------------------------------------------------------------------------------------+
177- | ** Data type ** | ** Value ** |
178- +-----------------+------------------------------------------------------------------------------------- +
177+ | Data type | Value |
178+ +=================+===================================================================================== +
179179| Model data | Same as in ``FormEvents::POST_SET_DATA `` |
180180+-----------------+-------------------------------------------------------------------------------------+
181181| Normalized data | Data from the request reverse-transformed from the request using a view transformer |
@@ -206,8 +206,8 @@ It can be used to fetch data after denormalization.
206206:ref: `Form Events Information Table<component-form-event-table> `
207207
208208+-----------------+---------------------------------------------------------------+
209- | ** Data type ** | ** Value ** |
210- +-----------------+--------------------------------------------------------------- +
209+ | Data type | Value |
210+ +=================+=============================================================== +
211211| Model data | Normalized data reverse-transformed using a model transformer |
212212+-----------------+---------------------------------------------------------------+
213213| Normalized data | Same as in ``FormEvents::POST_SUBMIT `` |
@@ -248,19 +248,19 @@ processed.
248248
249249.. _component-form-event-table :
250250
251- +--------------------+-------------------------------+------------------+
252- | ** Name ** | ``FormEvents `` ** Constant ** | ** Event's data ** |
253- +--------------------+-------------------------------+------------------ +
254- | form.pre_set_data | ``FormEvents::PRE_SET_DATA `` | Model data |
255- +--------------------+-------------------------------+------------------+
256- | form.post_set_data | ``FormEvents::POST_SET_DATA `` | Model data |
257- +--------------------+-------------------------------+------------------+
258- | form.pre_bind | ``FormEvents::PRE_SUBMIT `` | Request data |
259- +--------------------+-------------------------------+------------------+
260- | form.bind | ``FormEvents::SUBMIT `` | Normalized data |
261- +--------------------+-------------------------------+------------------+
262- | form.post_bind | ``FormEvents::POST_SUBMIT `` | View data |
263- +--------------------+-------------------------------+------------------+
251+ +------------------------ +-------------------------------+------------------+
252+ | Name | ``FormEvents `` Constant | Event's data |
253+ +========================+===============================+================== +
254+ | `` form.pre_set_data `` | ``FormEvents::PRE_SET_DATA `` | Model data |
255+ +------------------------ +-------------------------------+------------------+
256+ | `` form.post_set_data `` | ``FormEvents::POST_SET_DATA `` | Model data |
257+ +------------------------ +-------------------------------+------------------+
258+ | `` form.pre_bind `` | ``FormEvents::PRE_SUBMIT `` | Request data |
259+ +------------------------ +-------------------------------+------------------+
260+ | `` form.bind `` | ``FormEvents::SUBMIT `` | Normalized data |
261+ +------------------------ +-------------------------------+------------------+
262+ | `` form.post_bind `` | ``FormEvents::POST_SUBMIT `` | View data |
263+ +------------------------ +-------------------------------+------------------+
264264
265265.. versionadded :: 2.3
266266
0 commit comments