Rails form post creates a 'Do you want to download “<form target>”' prompt on mobile
Hey everyone,
I'm just testing my first Rails app on mobile and whenever I submit a form I get a prompt to download the form target. See the screenshot below:
Here is my form tag for the form Im working with:
<%= form_with(url: "/stock/createOrderBuy",remote: true, method: "post", id: "buyForm", html: { class: "needs-validation", novalidate: true }) do %>
This form submits to a post to a controller, it's not receiving anything back as a response. Any guidance for how to get rid of this odd message would be much appreciated! Using rails 5.1.7 with Safari on iphone8