Opt-in customizable presentation of one native select.
Enhanced Select uses the exact Native Select value, option, relationship, and
submission contract. A standards-based selectedcontent child and package CSS
activate only when the browser supports the complete customizable-select
capability. Otherwise the same visible native select remains authoritative.
Summary
Functions
Renders one native select with a capability-gated enhanced presentation.
Functions
Renders one native select with a capability-gated enhanced presentation.
Attributes
field(:any) - Defaults tonil.id(:string) - Defaults tonil.name(:string) - Defaults tonil.value(:any) - Defaults to{:shadcn_ui, :not_provided}.options(:list) (required)errors(:any) - Defaults to{:shadcn_ui, :not_provided}.error_mode(:atom) - Defaults to:used_input. Must be one of:used_input,:always, or:hidden.used(:boolean) - Defaults tofalse.translate_error(:any) - Defaults tonil.pending(:boolean) - Defaults tofalse.required(:boolean) - Defaults tofalse.optional(:boolean) - Defaults tofalse.disabled(:boolean) - Defaults tofalse.multiple(:boolean) - Defaults tofalse.size(:atom) - Defaults to:default. Must be one of:small,:default, or:large.form(:string) - Defaults tonil.describedby(:any) - Defaults tonil.class(:any) - Defaults tonil.field_class(:any) - Defaults tonil.- Global attributes are accepted. Supports all globals plus:
["autofocus"].
Slots
label(required)help