LiveView & Ecto Association issue: (ArgumentError) could not find non-disabled input

@makabde, I don’t know if you are still having this problem or not. I was running into the same problem, was not able to find a solution online, but stumbled my way through to something that worked.

I’m assuming your @create_attrs look something like:

@create_attrs %{emails: [%{address: "some@address.com"}]}

I needed to change mine to look like:

@create_attrs %{emails: %{0 => %{address: "some@address.com"}}}
4 Likes