Examples
Documentation
Form select props
Parameters accepted by
{#include components/forms/form-select ... /}. Model mode: pass
formSelect=<FormSelect> built in Java instead — the Java tab on each example
shows the builder. Options go in the options slot.
| Name | Type | Description |
|---|---|---|
* id
|
String |
Wrapper id; inner <select> gets {id}-field.
|
disabled / required
|
boolean | Standard HTML form attrs. |
validated
|
success | warning | error
|
Validation state. |
slot options
|
Qute block | Native <option> (and optionally <optgroup>) tags. |
Usage
Native vs. Select component. Form select renders the browser-native <select> UI — fast, accessible, mobile-friendly. Reach for the rich Select when you need search, multi-select, or custom option rendering.
Placeholder. Add a leading <option value="">Select…</option> — native <select> has no built-in placeholder attribute.