Rails (with turbo) render form in place – how to update element outside of form
I have a model with some boolean columns. I would like to edit these as checkboxes in a form with instant update every time a checkbox is clicked. I managed to do this with onchange: "this.form.requestSubmit()"
on each checkbox and then rendering the form in the controller with render :edit, status: :ok
so we stay on the form.
Rails 7 Delete links insidea turboframe with dataturbo false are not pointing to delete action
I follow this reference Delete link sends Get request instead of Delete Rails 7
Raisl 7 turbo frames and multiple forms issue with the form value
I’m very new to Rails. I’ve found this strange issue related to turbo_frame and multiple new forms.