atomic-result-multi-value-text

This is for:

Developer
In this article

The atomic-result-multi-value-text component renders the values of a multi-value string field.

Properties

Property Attribute Description Type Default

delimiter

delimiter

The delimiter used to separate values when the field isn’t indexed as a multi value field.

null | string

null

field (required)

field

The field that the component should use. The component will try to find this field in the Result.raw object unless it finds it in the Result object first. Make sure this field is present in the fieldsToInclude property of the atomic-search-interface component.

string

maxValuesToDisplay

max-values-to-display

The maximum number of field values to display. If there are n more values than the specified maximum, the last displayed value will be "n more…​".

number

3

Shadow Parts

Part Description

result-multi-value-text-separator

The separator to display between each of the field values.

result-multi-value-text-value

A field value.

result-multi-value-text-value-more

A label indicating some values were omitted.