Ah, yeah so that logic for nested forms currently only works for embedded resources, not for simple map types like that. We’d need to add support for that in AshPhoenix.
Other than that you have some options, like:
<.input ... name={@form.name <> "[sessions][0][name]"} id={@form.id <> "_sessions_0_name"}, ....>
Which really isn’t ideal. We could add this to AshPhoenix but its not super trivial, so converting your TypedStruct into embedded resources is probably the best way to go for now.


















