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

# IAttributeFilterMenuConfig

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

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Configuration for the attribute filter header menu.

**Signature:**

```typescript
export interface IAttributeFilterMenuConfig 
```

## Remarks

Groups together props that control the header menu behavior, such as which filter modes are available and whether label switching is shown.

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [availableSelectionTypes?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.iattributefiltermenuconfig/index.md#iattributefiltermenuconfigavailableselectiontypes) |  | [AttributeFilterAvailableSelectionType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.attributefilteravailableselectiontype/index.md)[] | **_(ALPHA)_** _(Optional)_ Limit which filter modes are available for switching. |
| [showLabelsSwitch?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.iattributefiltermenuconfig/index.md#iattributefiltermenuconfigshowlabelsswitch) |  | boolean | **_(ALPHA)_** _(Optional)_ Show the "Values as" label switching section in the header menu. |

## Property details

### IAttributeFilterMenuConfig.availableSelectionTypes

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Limit which filter modes are available for switching.

**Signature:**

```typescript
availableSelectionTypes?: AttributeFilterAvailableSelectionType[];
```

#### Remarks

When more than one mode is available, the mode switch menu is shown. Defaults to all modes: ["elements", "arbitrary", "match"]. The UI maps arbitrary/match to internal text mode and distinguishes them by operator: "is"/"isNot" = arbitrary, others = match.

### IAttributeFilterMenuConfig.showLabelsSwitch

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Show the "Values as" label switching section in the header menu.

**Signature:**

```typescript
showLabelsSwitch?: boolean;
```

#### Remarks

When true, the "Values as" section is shown in the header menu, allowing users to switch between different display forms of the attribute. The section is only visible when the attribute has more than one display form. Defaults to true.
