Select — Playground

px
multipleDisplay
State
html.html
<kui-field label="Role">
  <input kuiSelect [(value)]="role" placeholder="Select a role..." />
  <kui-dropdown>
    <div kuiOption value="engineer">Software Engineer</div>
    <div kuiOption value="designer">Designer</div>
    <div kuiOption value="manager">Product Manager</div>
  </kui-dropdown>
</kui-field>
NameTypeDefaultDescription
valueT | readonly T[] | nullSelected value. In multiple mode this is an array.
disabledbooleanDisables the native input and prevents opening the dropdown.
readonlybooleanPrevents opening the dropdown while keeping the field visually enabled.
invalidbooleanValidation state set by Signal Forms or direct input binding.
errorsValidationError[]Validation errors consumed by kui-field for automatic error text.
touchedbooleanTouched state set by Signal Forms.
idstringExplicit id override. Inside kui-field, the field id is used when omitted.
multiplebooleanEnables array values and keeps the dropdown open on option selection.
maxVisibleChipsnumber | undefinedMaximum selected chips shown before collapsed +N overflow.
multipleDisplay'chips' | 'text'Renders multiple selections as field chips or plain joined text.
multipleTextFn(items: readonly T[]) => stringFormats native input text when multipleDisplay is text.
kuiLabelFn(item: T) => stringMaps selected object values to display text.
placeholderstringPlaceholder on the readonly input.
clearableboolean | undefinedShows a clear button when a value is selected; falls back to provider options.
touchoutputEmitted after an opened dropdown closes for Signal Forms support.

Inputs and outputs verified against @kikita-labs/ui v1.6.1 public typings.