Category: axios

Symfony 4 – Submit form with Axios?

With Axios I get a form created with Symfony FormBuilder, which I then display in a modal: template.html.twig: productId = {{product.id}}; var url = Routing.generate(“stripe_admin_product_update_form”, {id: productId}); axios.get(url) .then(function(response){ var form = response.data.form; Swal.fire({ title: “Modifier ?”, html: form, icon:…