Closed olliekav closed 2 years ago
I added this on the iOS side as well, which seems to be working fine now but not sure If I'm missing something here?
https://github.com/hotwired/turbo-ios/issues/44
Should data-turbo-action attributes be working on Android as well? e.g
data-turbo-action
<%= form_for(@event, url: events_path, html: { data: { "turbo-action": "replace" }}) do |f| %> <%= button_to event_path(@event), method: :delete, data: { confirm: 'Delete this event?' }, form: { 'data-turbo-action': 'replace' } do %>
Looks like this was because of an Ajax request when uploading images. The form was submitting without turbo attributes.
I added this on the iOS side as well, which seems to be working fine now but not sure If I'm missing something here?
https://github.com/hotwired/turbo-ios/issues/44
Should
data-turbo-action
attributes be working on Android as well? e.g