Select

A native select as a form control with projected options.

Available in
  • Angular: available
  • Vue: available
  • React: available
  • React Native: available

Usage

Selected: en

Import

ts
import {
  SoneSelectComponent,
} from "@surface-one/angular/select";

API reference

SoneSelectComponentComponent

Selector
sone-select
Inputs
NameType Default
ariaLabelstring | nullnull
sizeNativeSelectSize"default"
selectIdstring | nullnull
namestring | nullnull
invalidbooleanfalse
ariaDescribedby

Extra ids for `aria-describedby` on the inner `<select>`.

string | nullnull
valuetwo-way

The selected value for `[(value)]`. `valueChange` fires only when the user picks an option — a forms write (`writeValue` from `formControl` / `ngModel`) updates the display without emitting it.

string""
disabledbooleanfalse
Outputs
NameType
selectionChange

Fires ONLY when the user picks an option — never on any programmatic write.

string