QuanticResultField
QuanticResultField
In this article
The QuanticResultField
component properly displays a given result field according to its type.
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-field result={result} label="Source" field="source" type="string"></c-quantic-result-field>
</template>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The result item to use. |
|
|
|
|
(Optional) The label to display. |
|
|
|
|
The field name whose values you want to display. |
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|