View Source Pyro.Resource.Form.Field (Pyro v0.0.4)
The configuration of a form field in the Pyro.Resource
extension.
Link to this section Summary
Link to this section Types
@type field_type() ::
:default | :long_text | :short_text | :autocomplete | :nested_form
@type t() :: %Pyro.Resource.Form.Field{ autocomplete_option_label_key: atom(), autocomplete_option_value_key: atom(), autocomplete_search_action: atom(), autocomplete_search_arg: atom(), autofocus: boolean(), class: String.t(), description: String.t(), input_class: String.t(), label: String.t(), name: atom(), path: [atom()], prompt: String.t(), type: field_type() }