Select

Select gives the user the ability to choose from predefined answer options.

Read more about this component in the Aksel documentation.

Properties

PropertyDescriptionDefault
Control
Properties
disabled

Disables element.

boolean
false
error

Error message for element.

string
""
hideLabel

If enabled shows the label and description for screen readers only.

boolean
false
label

Label for select.

string
""
size

Changes font-size, padding and gaps.

"medium" "small"
"medium"
style

Sets inline-style on select wrapper.

string
-
value
bindable

Selected value.

string
""
Snippets
children

List of <option> elements.

 -
description

Extra description.

 -

Properties included from: Omit<HTMLSelectAttributes, "size">