A Material Design select field (pp_select/1) — a native <select>
styled to match PhoenixPaper.Input's outlined/filled variants.
Accepts either a Phoenix Phoenix.HTML.FormField via field= or plain
name/value attrs.
Summary
Functions
Attributes
id(:any) - Defaults tonil.name(:any) - Defaults tonil.label(:string) - Defaults tonil.value(:any) - Defaults tonil.options(:list) (required) - list of {label, value} tuples, or plain values.prompt(:string) - Defaults tonil.variant(:string) - Defaults to"outlined". Must be one of"outlined", or"filled".shape(:atom) - corner radius token, see PhoenixPaper.Shape. Defaults to:sm. Must be one of:none,:xs,:sm,:md,:lg,:xl, or:full.field(Phoenix.HTML.FormField) - Defaults tonil.errors(:list) - Defaults to[].helper_text(:string) - Defaults tonil.disabled(:boolean) - Defaults tofalse.paperize(:boolean) - Defaults totrue.class(:any) - Defaults tonil.- Global attributes are accepted. Supports all globals plus:
["autofocus", "form", "multiple", "required"].