Select

Um select nativo como controle de formulário, com opções projetadas.

Disponível em
  • Angular: disponível
  • Vue: disponível
  • React: disponível
  • React Native: disponível

Uso

Selected: en

Importação

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

Referência da API

SoneSelectComponentComponente

Seletor
sone-select
Inputs
NomeTipo Padrão
ariaLabelstring | nullnull
sizeNativeSelectSize"default"
selectIdstring | nullnull
namestring | nullnull
invalidbooleanfalse
ariaDescribedby

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

string | nullnull
valuebidirecional

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
NomeTipo
selectionChange

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

string