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
When using .simple_form, If I add a for={@form} as={:test_form} I expect that on submit I would see the params submitted under "test_form" however it is ignored and continues to use the default struct name in @form. However, if I set the options on the to_form call to_form(changeset, [as: "test_form"]) it does work fine. I'm curious if this had something to do with #5901?
Expected behavior
:as should override the default form parameter name