TensAndTwenties

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

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:

Download Prompt on iPhone8

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

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.