Query ajax reloading form Symfony 3

0

Good evening, I'm new here and I'm facing a problem with a legacy system. There is a function that is used in all system searches, the system uses symfony with sonata. This search is executed by ajax correctly but the problem is that it does a reload of all entities of the page every query that is done. From what I realized the problem is the getForm call that does this reload but I do not know how I can make this function different. If they can help me the problem call is this below

/** @var $config \Symfony\Component\Form\FormConfigInterface */
$config = $admin->getForm()->get($request->get('json_from_admin_field'))->getConfig();
    
asked by anonymous 18.05.2018 / 01:58

0 answers