Select

Native select with placeholders, old input, validation and auto-submit

View documentation

Options and placeholder

:options takes [value => label] pairs. placeholder adds a re-selectable empty first option, so an optional field can go back to having no answer.

Empty choice

nullable renders an empty option so nothing is pre-selected. Combine it with placeholder when that empty choice deserves a label.

Multiple

With multiple, :selected takes an array and the name needs [] — without it PHP keeps only the last value. For a searchable multi-value control use hw:multi-select instead.

auto-submit

Selects default to immediate submit on change; auto-submit="debounced" opts into a delay. clean-query-params keeps the resulting URL free of empty fields.

Filtering by: every category