Typically, we back Phoenix forms with an Ecto changeset.
But sometimes, I prefer having more of a separation between the form, which is part of my UI, and the changeset that stores data in the database.
Check out how we can use `to_form/2` to back our forms with a map!
For more videos like this, check out elixirstreams.com
8 авг 2023