IAlertDialogValidity
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
The alerting dialog’s validity.
export interface IAlertDialogValidity
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (BETA) Whether the measure may be changed — false when the dialog has no insight. | ||
boolean | (BETA) Whether the saved alert points at a widget whose insight is gone. | ||
boolean | (BETA) Whether the widget the alert is attached to still exists and supports the alert’s measure. | ||
boolean | (BETA) Whether submit is disabled: the draft is invalid, incomplete, or unchanged in edit mode. | ||
string | undefined | (BETA) The validation message to show; undefined when there is none. |
Property details
IAlertDialogValidity.canChangeMeasurepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Whether the measure may be changed — false when the dialog has no insight.
canChangeMeasure: boolean;
IAlertDialogValidity.isInvalidConnectionToInsightpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Whether the saved alert points at a widget whose insight is gone.
isInvalidConnectionToInsight: boolean;
IAlertDialogValidity.isParentValidpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Whether the widget the alert is attached to still exists and supports the alert’s measure.
isParentValid: boolean;
IAlertDialogValidity.isSubmitDisabledpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Whether submit is disabled: the draft is invalid, incomplete, or unchanged in edit mode.
isSubmitDisabled: boolean;
IAlertDialogValidity.validationErrorMessagepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
The validation message to show; undefined when there is none.
validationErrorMessage: string | undefined;