atomic-result-text

This is for:

Developer
In this article

See Display results to learn more about customizing your result templates.

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

Properties

Property Attribute Description Type Default

default

default

The locale key for the text to display when the configured field has no value.

string | undefined

field (required)

field

The result field which the component should use. This will look in the Result object first, and then in the Result.raw object for the fields. It is important to include the necessary field in the atomic-search-interface component.

string

shouldHighlight

should-highlight

If this is set to true, it will look for the corresponding highlight property and use it if available.

boolean

true