Themes

Fields/Components/es-input-list
es-input-list

A list creator input.

Props

Name
Description
Type
Default
additionIcon

Icon for the add item button.

[namespace: string
or
symbol, name: string]
or
string
[ICON_NAMESPACE, plus]
additionText

Text for the add item button.

string
Add item
deleteIcon

Icon for the delete button.

[namespace: string
or
symbol, name: string]
or
string
[ICON_NAMESPACE, trash]
disabled

If the input is disabled.

boolean
or
undefined
label

The label of the field.

string
messages

The validation messages of the field

ValidationMessages
or
undefined
name

The name of the field.

string
placeholder

Display a placeholder in the input.

string
value

The currently selected values

string[]

ValidationMessages

Name
Description
Type
children
Record<number, Record<Severity, ValidationMessage[]>>
error
ValidationMessage[]
info
ValidationMessage[]
warning
ValidationMessage[]

Events

Event
Detail
Description
fieldchange
FieldChange<string[]>

Emitted when the value of the field is changed.

CSS Variables

Name
Description
--field-grid-columns

The field layout.