Formex v0.4.0 Release Notes

Release Date: 2017-03-08 // about 7 years ago
    • 🔄 Changed API of Formex.Type

      • swapped second and third argument of Formex.Type.add\4.

      Instead of:

      |> add(:text_input, :title)
      

      write:

      |> add(:title, :text_input)
      

      The order of arguments is now the same as in Symfony.

      • removed Formex.Type.add_button\4. Use Formex.Type.add\4 instead.
      • removed Formex.Type.add_form\4. Use Formex.Type.add\4 instead.