useAlertDialogValidity()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Reads the alerting dialog’s validity: whether submit is enabled, the validation message to show, whether the parent widget is still valid, whether the measure may be changed, and whether the saved alert points at a widget whose insight is gone.
export declare function useAlertDialogValidity(): IAlertDialogValidity;
Returns