ExTeal.Fields.Array (ExTeal v0.21.0) View Source
The Array
field may be used to represent an Ecto array
.
Link to this section Summary
Functions
Callback implementation for ExTeal.Field.apply_options_for/4
.
Callback implementation for ExTeal.Field.default_sortable/0
.
Enable a draggable ui for the field, allowing a user to reorder the items in the array
Callback implementation for ExTeal.Field.filterable_as/0
.
Hide the 'create button' in the user interface
Put the 'add item' at the bottom of the list instead of the tops
Callback implementation for ExTeal.Field.make/2
.
Set a maximum height of the list in pixels
Set a maximum number of items in the list
Set the placeholder for the 'add item' inputs
Callback implementation for ExTeal.Field.sanitize_as/0
.
Callback implementation for ExTeal.Field.value_for/3
.
Link to this section Functions
Callback implementation for ExTeal.Field.apply_options_for/4
.
Callback implementation for ExTeal.Field.default_sortable/0
.
Specs
draggable(ExTeal.Field.t()) :: ExTeal.Field.t()
Enable a draggable ui for the field, allowing a user to reorder the items in the array
Callback implementation for ExTeal.Field.filterable_as/0
.
Specs
hide_create_button(ExTeal.Field.t()) :: ExTeal.Field.t()
Hide the 'create button' in the user interface
Specs
list_above(ExTeal.Field.t()) :: ExTeal.Field.t()
Put the 'add item' at the bottom of the list instead of the tops
Callback implementation for ExTeal.Field.make/2
.
Specs
max_height(ExTeal.Field.t(), integer()) :: ExTeal.Field.t()
Set a maximum height of the list in pixels
Specs
max_items(ExTeal.Field.t(), integer()) :: ExTeal.Field.t()
Set a maximum number of items in the list
Specs
placeholder(ExTeal.Field.t(), String.t()) :: ExTeal.Field.t()
Set the placeholder for the 'add item' inputs
Callback implementation for ExTeal.Field.sanitize_as/0
.
Callback implementation for ExTeal.Field.value_for/3
.