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

# v1.DashboardTextFilter2

- Package: [@gooddata/sdk-code-schemas](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-code-schemas/src/v1/metadata.ts

A dashboard text filter

**Signature:**

```typescript
export interface DashboardTextFilter2 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [case\_sensitive?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2case_sensitive) |  | boolean | _(Optional)_ |
| [condition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2condition) |  | "contains" \| "doesNotContain" \| "startsWith" \| "doesNotStartWith" \| "endsWith" \| "doesNotEndWith" |  |
| [display\_as?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2display_as) |  | [DisplayAsLabelIdentifier3](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.displayaslabelidentifier3/index.md) | _(Optional)_ |
| [mode?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2mode) |  | "readonly" \| "hidden" \| "active" | _(Optional)_ Setting filter mode to readonly will disable the filter. Setting it to hidden will hide the filter from the dashboard. Setting it to active will enable the filter. |
| [selection\_type?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2selection_type) |  | "list" \| "text" \| "listOrText" | _(Optional)_ Controls which filter presentation types are available to the user in View mode. 'list' means only elements/list selection, 'text' means only text-based filtering, 'listOrText' means both types are available. |
| [title?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2title) |  | string | _(Optional)_ Optional title of the filter |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2type) |  | "text\_filter" |  |
| [using](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2using) |  | [AttributeIdentifier5](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributeidentifier5/index.md) \| [LabelIdentifier5](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.labelidentifier5/index.md) \| [ComputedAttributeIdentifier5](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.computedattributeidentifier5/index.md) | Attribute or label to use in this filter. |
| [value](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.dashboardtextfilter2/index.md#v1dashboardtextfilter2value) |  | string |  |

## Property details

### v1.DashboardTextFilter2.case_sensitive

**Signature:**

```typescript
case_sensitive?: boolean;
```

### v1.DashboardTextFilter2.condition

**Signature:**

```typescript
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
```

### v1.DashboardTextFilter2.display_as

**Signature:**

```typescript
display_as?: DisplayAsLabelIdentifier3;
```

### v1.DashboardTextFilter2.mode

Setting filter mode to readonly will disable the filter. Setting it to hidden will hide the filter from the dashboard. Setting it to active will enable the filter.

**Signature:**

```typescript
mode?: "readonly" | "hidden" | "active";
```

### v1.DashboardTextFilter2.selection_type

Controls which filter presentation types are available to the user in View mode. 'list' means only elements/list selection, 'text' means only text-based filtering, 'listOrText' means both types are available.

**Signature:**

```typescript
selection_type?: "list" | "text" | "listOrText";
```

### v1.DashboardTextFilter2.title

Optional title of the filter

**Signature:**

```typescript
title?: string;
```

### v1.DashboardTextFilter2.type

**Signature:**

```typescript
type: "text_filter";
```

### v1.DashboardTextFilter2.using

Attribute or label to use in this filter.

**Signature:**

```typescript
using: AttributeIdentifier5 | LabelIdentifier5 | ComputedAttributeIdentifier5;
```

### v1.DashboardTextFilter2.value

**Signature:**

```typescript
value: string;
```
