You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Based on #1046 and the docs I can write a form as such:
with the following action:
After the form is submitted the page url is
/alarms/some-id?_method=PATCH
.This errors out with live reload, since method overrides are not permitted with the
GET
method. Reloading the page yields the same error.Currently I have the following function to remove the
_method
search parameter:Is there a better way to strip the parameter, possibly server side?
I have tried:
and:
Am I missing something?
P.S. I have briefly skimmed through #5875 and #3533, so I am aware things may change soon.
ETA: Add
<form>
under "I have tried".Beta Was this translation helpful? Give feedback.
All reactions