Form inputs for array Ecto types in Phoenix
Did you know you could use Elixir Maps and Lists in your Ecto schemas?
Have you ever tried making an edit form for a collection type? We'll do that today, starting from the basic Phoenix app from last time.
(Source code available for premium members)
Follow-up episode: https://alchemist.camp/episodes/custom-form-input
Level up your Elixir skills
Request a free email course
1 Comment
Log in to leave a comment
How would one limit the number of array items added to a form, given that the limit would be coming from some configuration file?