QuanticResultText

The QuanticResultText component displays a given result field value. Make sure the field specified in this component is also included in the field array for the relevant template. See the this example: Quantic usage.

Example

<template if:true={result.raw.source}>
  <c-quantic-result-text result={result} label="Source" field="source"></c-quantic-result-text>
</template>

Properties

Property Attribute Description Type Default

result (required)

result

The result item to use.

Result

label

label

(Optional) The label to display.

string

undefined

field (required)

field

The field whose values you want to display.

string

formattingFunction (required)

formatting-function

The function used to format the displayed value.

function

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

56.0

isExposed

false