# Nested Form with map

**URL:** <https://forum.elixirforum.com/t/nested-form-with-map/59110>\
**Category:** Questions\
**Tags:** forms, phoenix\
**Created:** [October 19, 2023, 4:31pm UTC](https://forum.elixirforum.com/t/nested-form-with-map/59110 "2023-10-19T16:31:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![wwaldner](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/w/ad7895/32.png) [@wwaldner](https://forum.elixirforum.com/u/wwaldner)\
**Post date:** [October 19, 2023, 9:54pm UTC](https://forum.elixirforum.com/t/nested-form-with-map/59110/5 "2023-10-19T21:54:13Z")

</div>

I don’t have a Ecto schema for this, so not sure if embeds apply. I am trying to use the input\_for and so far have not been able to get very far. Latest error I get is:

```elixir
* (ArgumentError) the Access calls for keywords expect the key to be an atom, got: "_persistent_id"
    (elixir 1.14.3) lib/access.ex:313: Access.get/3
    (phoenix_live_view 0.20.0) lib/phoenix_component.ex:2415: anonymous fn/2 in Phoenix.Component."inputs_for (overridable 1)"/1
    (elixir 1.14.3) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
    (phoenix_live_view 0.20.0) lib/phoenix_component.ex:2415: Phoenix.Component."inputs_for (overridable 1)"/1
    (phoenix_live_view 0.20.0) lib/phoenix_live_view/tag_engine.ex:68: Phoenix.LiveView.TagEngine.component/3

```

---

_[View the full topic](https://forum.elixirforum.com/t/nested-form-with-map/59110)._
