> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAlertingDialogAttributeProps

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/alerting/types.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Props of the default alerting dialog's attribute field (the "For" row).

**Signature:**

```typescript
export interface IAlertingDialogAttributeProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [attributes](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsattributes) |  | [AlertAttribute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.alertattribute/index.md)[] | **_(BETA)_** The insight's attributes; the select offers the non-date ones and renders nothing when there is none. |
| [catalogAttributes](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropscatalogattributes) |  | [ICatalogAttribute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icatalogattribute/index.md)[] | **_(BETA)_** The workspace catalog's attributes, to resolve titles and display forms. |
| [catalogDateDatasets](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropscatalogdatedatasets) |  | [ICatalogDateDataset](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icatalogdatedataset/index.md)[] | **_(BETA)_** The workspace catalog's date datasets, to resolve date attributes. |
| [closeOnParentScroll?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropscloseonparentscroll) |  | boolean | **_(BETA)_** _(Optional)_ Closes the dropdown when an ancestor scrolls; the default dialog sets it. |
| [disabled?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsdisabled) |  | boolean | **_(BETA)_** _(Optional)_ Disables the select. The default dialog disables it when the dialog has no insight to pick measures from. |
| [getAttributeValues](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsgetattributevalues) |  | (attribute: [IAttribute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iattribute/index.md)) =&gt; [AttributeValue](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.attributevalue/index.md)[] | **_(BETA)_** Distinct values of an insight attribute in the widget's execution result, by its display form. |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsid) |  | string | **_(BETA)_** Id of the dropdown button; the form row's label points at it. |
| [isResultLoading?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsisresultloading) |  | boolean | **_(BETA)_** _(Optional)_ Disables the select while the execution result is loading. |
| [onAttributeChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsonattributechange) |  | (attribute: [AlertAttribute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.alertattribute/index.md) \| undefined, value: [AttributeValue](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.attributevalue/index.md) \| undefined) =&gt; void | **_(BETA)_** Called with the picked attribute and value; `(undefined, undefined)` clears the slice. |
| [selectedAttribute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsselectedattribute) |  | [AlertAttribute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.alertattribute/index.md) \| undefined | **_(BETA)_** The attribute the condition is sliced by; undefined for the whole measure. |
| [selectedValue](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsselectedvalue) |  | string \| null \| undefined | **_(BETA)_** The attribute element the condition is sliced to; null for the empty value, undefined for all values. |
| [showLabel?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogattributeprops/index.md#ialertingdialogattributepropsshowlabel) |  | boolean | **_(BETA)_** _(Optional)_ Renders the select's own "For" label above the control. The default dialog passes false — the form row carries the label. |

## Property details

### IAlertingDialogAttributeProps.attributes

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The insight's attributes; the select offers the non-date ones and renders nothing when there is none.

**Signature:**

```typescript
attributes: AlertAttribute[];
```

### IAlertingDialogAttributeProps.catalogAttributes

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The workspace catalog's attributes, to resolve titles and display forms.

**Signature:**

```typescript
catalogAttributes: ICatalogAttribute[];
```

### IAlertingDialogAttributeProps.catalogDateDatasets

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The workspace catalog's date datasets, to resolve date attributes.

**Signature:**

```typescript
catalogDateDatasets: ICatalogDateDataset[];
```

### IAlertingDialogAttributeProps.closeOnParentScroll

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Closes the dropdown when an ancestor scrolls; the default dialog sets it.

**Signature:**

```typescript
closeOnParentScroll?: boolean;
```

### IAlertingDialogAttributeProps.disabled

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Disables the select. The default dialog disables it when the dialog has no insight to pick measures from.

**Signature:**

```typescript
disabled?: boolean;
```

### IAlertingDialogAttributeProps.getAttributeValues

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Distinct values of an insight attribute in the widget's execution result, by its display form.

**Signature:**

```typescript
getAttributeValues: (attribute: IAttribute) => AttributeValue[];
```

### IAlertingDialogAttributeProps.id

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Id of the dropdown button; the form row's label points at it.

**Signature:**

```typescript
id: string;
```

### IAlertingDialogAttributeProps.isResultLoading

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Disables the select while the execution result is loading.

**Signature:**

```typescript
isResultLoading?: boolean;
```

### IAlertingDialogAttributeProps.onAttributeChange

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Called with the picked attribute and value; `(undefined, undefined)` clears the slice.

**Signature:**

```typescript
onAttributeChange: (attribute: AlertAttribute | undefined, value: AttributeValue | undefined) => void;
```

### IAlertingDialogAttributeProps.selectedAttribute

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The attribute the condition is sliced by; undefined for the whole measure.

**Signature:**

```typescript
selectedAttribute: AlertAttribute | undefined;
```

### IAlertingDialogAttributeProps.selectedValue

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The attribute element the condition is sliced to; null for the empty value, undefined for all values.

**Signature:**

```typescript
selectedValue: string | null | undefined;
```

### IAlertingDialogAttributeProps.showLabel

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Renders the select's own "For" label above the control. The default dialog passes false — the form row carries the label.

**Signature:**

```typescript
showLabel?: boolean;
```
