QuanticResultDate

The QuanticResultDate component displays a given result date 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.date}>
  <c-quantic-result-date result={result} label="Date" field="date"></c-quantic-result-date>
</template>

Properties

Property Attribute Description Type Default

result (required)

result

The result item to use.

Result

field (required)

field

The date field whose values you want to display.

string

label

label

(Optional) The label to display.

string

none

formattingFunction (required)

formatting-function

A function used to format the displayed value. By default, the date is formatted using the browser locale.

function

XML Configuration File Elements

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

Metadata Value

apiVersion

56.0

isExposed

false