Whether the Control has to obtain explicit confirmation of the value.
If true
:
Unique identifier for control instance
Props to configure input handling.
Props to customize the relationship between the control and the interaction model.
Props to customize the prompt fragments that will be added by
this.renderAct()
.
Props to customize the reprompt fragments that will be added by
this.renderAct()
.
Determines if the Control must obtain a value.
true
the Control will take initiative to elicit a value.false
the Control will not take initiative to elicit a value, but the user
can provide one if they wish, e.g. "U: I would like this by Tuesday".Function(s) that determine if the value is valid.
Default: true
, i.e. any value is valid.
Usage:
Validation functions return either true
or a ValidationResult
to
describe what validation failed.
Common validation functions are defined in the DateControlValidations
namespace
which can be added directly to this prop. e.g.:
valid: DateControlValidations.FUTURE_DATE_ONLY,
Function that maps the DateControlState.value to a corresponding rendered value that will be presented to the user.
Default: returns the value unchanged.
Props for a DateControl.