Components
Components

Combobox

Tag: <we-combobox>
Standard module: we_combobox

Single-select input backed by caller-provided options. It supports labels, placeholder text, required state, disabled state, and help text.

Features

  • Accepts an options array and selected value.
  • Emits change when the selection changes.

Public parameters

JavaScript property HTML attribute Type Initial value Purpose
label label String '' Text label shown to the user.
placeholder placeholder String 'Select an option' Text shown before a value is selected.
disabled disabled Boolean false Whether interaction is disabled.
required required Boolean false Whether the value is required.
helpText help-text String '' Supporting text shown with the control.
name name String '' Form or field name.
options options Array — Available choices supplied by the caller.
value value String — Current selected value.

Public methods

No @apiFunction methods are declared.

Events

  • change is emitted as a DOM custom event.

Source: working/environment_modules/standard/we_combobox/WebComponent/WeCombobox.js.

All components