Dwight Posted March 4, 2021 Share Posted March 4, 2021 Hi, I've managed to add my grid to the backoffice catalog -> product form panel and it's working but messes up the html. This because of the <form> in <form> tags when I include the grid in essentials.html.twig with: {{ include('@PrestaShop/Admin/Common/Grid/grid_panel.html.twig', { 'grid': my_custom_grid} ) }} This is because the grid_panel.html.twig has also forms included which messes up the html markup. What is the best way to include a grid into a form? Is this possible or am I missing something? Link to comment Share on other sites More sharing options...
Dwight Posted March 4, 2021 Author Share Posted March 4, 2021 (edited) Okay there is no solution I've edit the product.html in mymodule at the end of the form tag. Edited March 4, 2021 by Dwight (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now