Search code examples
symfony

Symfony - how to refresh one form based on changes in the other one?


I've got two forms on the web page, sitting next to each other. Both are created in live components.

I need to refresh 2nd form, based on changes in the 1st one. What is the best approach to achieve this?


Solution

  • Agreed, my question was very broad and have managed to solve this issue by using live components, LiveAction, LiveListener and emit() method.