I found a solution. You should not use form_for/4 when working with liveview.
You should use the form component instead.
<.form let={f} for={@changeset} phx-change={:validate} phx-submit={:save} phx-target={@myself}></.form>
I found a solution. You should not use form_for/4 when working with liveview.
You should use the form component instead.
<.form let={f} for={@changeset} phx-change={:validate} phx-submit={:save} phx-target={@myself}></.form>