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
The only way to fix it right now, it to replace <%= form_for %> with <form> and at the end replace it again with the original expression.
Other solution would be to add do at the end of form_for expression and replace </form> with <% end %> before encoding step. I actually prefer this, because it wouldn't require too many changes in encoder/decoder.
The text was updated successfully, but these errors were encountered:
I was just coming to report this. I would be happy to help if I knew how to fix it. I'm trying to understand your other solution though. If I try to use a do block with the form I get a compile error: undefined function f/0
https://hexdocs.pm/phoenix_html/Phoenix.HTML.Form.html#module-phoenix-liveview-integration
The only way to fix it right now, it to replace
<%= form_for %>
with<form>
and at the end replace it again with the original expression.Other solution would be to add
do
at the end of form_for expression and replace</form>
with<% end %>
before encoding step. I actually prefer this, because it wouldn't require too many changes in encoder/decoder.The text was updated successfully, but these errors were encountered: