Numbering nested inputs in Phoenix LiveView
Numbering a list is normally really easy - but it’s not obvious how to do it in LiveView for a nested form with <.inputs_for>
My new post explains how to do it, including an important extra consideration if your nested inputs are sortable: https://arrowsmithlabs.com/blog/numbering-nested-inputs-in-phoenix-liveview
Read next Introducing Elixir Observer: A Better Way to Explore Elixir Packages