Text List
List of words or phrases
Demo
Static & Single example
Attributes
Attribute | Type | Description |
---|---|---|
type | string | Type expected is stringList. |
See section Common attributes.
Extra attributes
Attribute | Type | Description |
---|---|---|
minItems | number | When multipleEntries is true, it requires to have a minimum number if items |
maxItems | number | When multipleEntries is true, it requires to have a maximum number if items |
minItemsErrorMessage | string | Custom error message for minItems validation |
maxItemsErrorMessage | string | Custom error message for maxItems validation |
When to use it
Use it when multiple items are available or can be selected for only one input.
There are multiple combinations possible with this component depending on:
Single
/Multi
: Single value or multiple values are acceptedStatic
/Rest
: Data comes with the definition or data need to be queryedFull
/Id
: When new item is selected data stores the ID attribute or Full item data