Search code examples
javascriptformssymfonysonata-admin

issue loading js code when Customizing form field symfony/ sonata Admin


i'm trying to customise a field of a form generated with sonata admin bundle, i adopted the solution posted here: Customize form field rendering what i want to do also is to execute an autocomplete script with ajax that load for me possible values for the field i've already created, so iwrote the script in the myfield_edit.html.twig mentionned in the solution. My problem: when loading the form page, my script's never been loaded! help pleaze!


Solution

  • sorry finally i convinced my boss to update everything for better use of any package in the future. now the pain is gone. thank you all for help.