Why isn't this AJAX call capturing the onChange event in Symfony?
问题 I am trying to get this form to dynamically populate the select box with the related Posts once the Owner has been selected in the previous dropdown. My entities are all ok however I can't see what I'm missing in the below files that is stopping the Ajax requests from firing: My Controller /** * @Route("/newUser", name="new_User") */ public function updatePostsAction(Request $request) { $User = new User(); $form = $this->createForm(new UserType(), $User); $form->handleRequest($request); if (