Form field for map/list

I have an Ecto schema that has a :map type and another field that is a list of integers ({:array, :integer}).

I’m wondering what a good form field would be in order to expose these through a form, so they can be updated from the UI and how would you handle that from the changeset?

You’re probably going to want to use inputs_for.

You can also use a text input for arrays and accept a comma separated list. You split and parse it before sending it deeper down your stack.