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

# ScheduledEmailDialogSubject()

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

> **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 scheduled-export dialog's subject field, connected to the dialog's state.

Renders [DefaultScheduledEmailDialogSubject()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.defaultscheduledemaildialogsubject/index.md) with the props of [useScheduledEmailDialogSubjectProps()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.usescheduledemaildialogsubjectprops/index.md); every prop passed here replaces the hook's value for that prop wholesale. Pass `onKeyDownSubmit` to submit on Enter from the subject input — the default dialog passes its save action; without it Enter does nothing here. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true and for an in-platform notification channel (which has no e-mail subject), the same visibility the default dialog gives the field.

**Signature:**

```typescript
export declare function ScheduledEmailDialogSubject(props: Partial<IScheduledEmailDialogSubjectProps>): ReactElement;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| props | Partial&lt;[IScheduledEmailDialogSubjectProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemaildialogsubjectprops/index.md)&gt; |  |

**Returns:**

ReactElement
