View Source Pyro.Components.SmartForm (Pyro v0.0.2)
overridable-component-attributes
Overridable Component Attributes
You can customize the components in this module by configuring overrides.
The components in this module support the following overridable attributes:
render_field/1
:field_group_class
:tails_classes
(required):field_group_label_class
:tails_classes
(required)
:autocomplete
:string
(required):actions_class
:tails_classes
(required):class
:tails_classes
(required)
Link to this section Summary
Components
Renders a smart Ash form.
Link to this section Components
Renders a smart Ash form.
attributes
Attributes
overrides
(:list
) - Manually set the overrides for this component (instead of config/default). Defaults tonil
.action_info
(:map
) - Defaults tonil
.pyro_form
(:map
) - Defaults tonil
.action
(:atom
) (required) - The action to be used.as
(:any
) - The server side parameter to collect all input under. Defaults tonil
.for
(:map
) (required) - The datastructure for the form.resource
(:atom
) (required) - The resource of the form.actor
(:map
) - The actor to be passed to actions. Defaults tonil
.autocomplete
(:string
) - (overridable, required).actions_class
(:any
) - (overridable,:tails_classes
, required).class
(:any
) - (overridable,:tails_classes
, required). Global attributes are accepted.