ExEffectiveBootstrap v0.1.17 ExEffectiveBootstrap.Options View Source
Normalizes and initializes all passed options
Link to this section Summary
Link to this section Types
Link to this type
t()
View Sourcet() :: %ExEffectiveBootstrap.Options{
append: Keyword.t() | false,
custom_control: Keyword.t() | false,
hint: Keyword.t() | false,
input: Keyword.t(),
input_group: Keyword.t() | false,
invalid: Keyword.t() | false,
javascript: Keyword.t() | false,
label: Keyword.t() | false,
prepend: Keyword.t() | false,
required: boolean() | nil,
select_options: any() | nil,
type: atom() | nil,
valid: Keyword.t() | false,
wrapper: Keyword.t()
}
Link to this section Functions
Link to this function
form_options(form, opts \\ [])
View Sourceform_options(Phoenix.HTML.Form.t() | atom(), Keyword.t()) :: Keyword.t()
Link to this function
input_type(form, field, opts \\ [])
View Sourceinput_type(Phoenix.HTML.Form.t() | atom(), atom(), Keyword.t()) :: atom()