Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DateRangeControlProps

Props for a ValueControl.

Hierarchy

Implements

Properties

Optional confirmationRequired

confirmationRequired: boolean | function

Whether the Control has to obtain explicit confirmation of the value.

If true:

  • the Control will take initiative to explicitly confirm the value with a yes/no question.

id

id: string

Unique identifier for control instance

Optional inputHandling

Props to configure input handling.

Optional interactionModel

Props to customize the relationship between the control and the interaction model.

Optional prompts

Props to customize the prompt fragments that will be added by this.renderAct().

Optional reprompts

Props to customize the reprompt fragments that will be added by this.renderAct().

Optional required

required: boolean | function

Determines if the Control must obtain a value.

  • If true the Control will take initiative to elicit a value.
  • If false the Control will not take initiative to elicit a value, but the user can provide one if they wish, e.g. "U: I need it between Monday and Friday".

Optional validation

validation: undefined | object

Props for determining if the date(s) are valid.

Optional valueRenderer

valueRenderer: undefined | function

Function that maps the startDate/endDate or range to rendered value that will be presented to the user as a list.

Default: returns the value unchanged.