Skip to content

Releases: dwyl/autoform

Schema Multiple Word Name

22 Dec 17:26
582d42c
Compare
Choose a tag to compare
  • Add test for schema containing multiple word in name
  • reorder use of Macro.underscore

Schema Name

22 Dec 11:10
9871884
Compare
Choose a tag to compare
  • Update associated schema name to use Macro.underscore

0.6.2

19 Dec 12:21
24762a1
Compare
Choose a tag to compare

Changes

0.6.1

13 Dec 10:00
0fbc998
Compare
Choose a tag to compare

Changes

  • Fixes bug where table name was a string instead of an atom

0.6.0

07 Dec 16:34
f7b412f
Compare
Choose a tag to compare

Changes

  • Renders nested schemas in changesets using inputs_for/4
  • Keeps changes in form after errors

0.5.0

05 Dec 10:04
fd5b73f
Compare
Choose a tag to compare

Changes

  • Adds default options of step="0.01" to number input when schema field is type float.

0.4.0

30 Nov 17:56
67c75aa
Compare
Choose a tag to compare

Changes

Integrates with https://github.com/dwyl/fields
If using Fields in the schema that is passed to autoform, and the Field has an input_type, autoform will render that input type.

0.3.0

27 Nov 17:33
acee0e7
Compare
Choose a tag to compare

Changes

  • Uses select element instead of checkboxes for belongs_to associations
  • required classname now also appears on association fields
  • Changeset related bugfixes

0.2.2

07 Nov 10:08
a01b9a9
Compare
Choose a tag to compare

Changes

Bug fixes

  • Changeset given as assigns for custom render function is now correctly used
  • Empty associations list no longer throws an error

0.2.1

22 Oct 15:41
0bdde12
Compare
Choose a tag to compare

Changes

  • Adds input_first option, to allow you to specify the order of labels/inputs. Useful for boolean values, which display as checkboxes.