You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #51041 [Form] Use form.post_set_data in ResizeFormListener (HeahDude)
This PR was merged into the 7.2 branch.
Discussion
----------
[Form] Use `form.post_set_data` in `ResizeFormListener`
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | yes
| Deprecations? | yes
| Tickets | ~
| License | MIT
| Doc PR | TODO
The `form.pre_set_data` event allows to change the initial data, modifying the form based on it should be done early during `form.post_set_data` instead.
Ref symfony/symfony-docs#18587.
Also, the collect of form config should be done as late as possible to account for modification from other listeners.
Commits
-------
de06a0f [Form] Use `form.post_set_data` in `ResizeFormListener`
0 commit comments