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

# IAlertingDialogThresholdProps

- 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 threshold field (the "Threshold" row).

**Signature:**

```typescript
export interface IAlertingDialogThresholdProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [errorMessage?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogthresholdprops/index.md#ialertingdialogthresholdpropserrormessage) |  | string | **_(BETA)_** _(Optional)_ Validation message shown under the input; undefined when there is none. |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogthresholdprops/index.md#ialertingdialogthresholdpropsid) |  | string | **_(BETA)_** Id of the input; the form row's label and the error message point at it. |
| [onBlur](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogthresholdprops/index.md#ialertingdialogthresholdpropsonblur) |  | (event: FocusEvent&lt;HTMLInputElement&gt;) =&gt; void | **_(BETA)_** Called on blur; the default dialog rounds the value to the measure's format here. |
| [onChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogthresholdprops/index.md#ialertingdialogthresholdpropsonchange) |  | (value: string \| number) =&gt; void | **_(BETA)_** Called with the raw input value on every keystroke. |
| [suffix?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogthresholdprops/index.md#ialertingdialogthresholdpropssuffix) |  | string | **_(BETA)_** _(Optional)_ Unit shown after the input — `"%"` for a change condition. |
| [value](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogthresholdprops/index.md#ialertingdialogthresholdpropsvalue) |  | number \| undefined | **_(BETA)_** The threshold shown; undefined for an empty input. |

## Property details

### IAlertingDialogThresholdProps.errorMessage

> **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).
> 

Validation message shown under the input; undefined when there is none.

**Signature:**

```typescript
errorMessage?: string;
```

### IAlertingDialogThresholdProps.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 input; the form row's label and the error message point at it.

**Signature:**

```typescript
id: string;
```

### IAlertingDialogThresholdProps.onBlur

> **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 on blur; the default dialog rounds the value to the measure's format here.

**Signature:**

```typescript
onBlur: (event: FocusEvent<HTMLInputElement>) => void;
```

### IAlertingDialogThresholdProps.onChange

> **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 raw input value on every keystroke.

**Signature:**

```typescript
onChange: (value: string | number) => void;
```

### IAlertingDialogThresholdProps.suffix

> **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).
> 

Unit shown after the input — `"%"` for a change condition.

**Signature:**

```typescript
suffix?: string;
```

### IAlertingDialogThresholdProps.value

> **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 threshold shown; undefined for an empty input.

**Signature:**

```typescript
value: number | undefined;
```
