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

# IAttributeFilterElementsSearchBarProps

- Package: [@gooddata/sdk-ui-filters](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-filters/src/AttributeFilter/Components/ElementsSelect/AttributeFilterElementsSearchBar.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).
> 

It represent a text field input for searching Attribute Filter elements

**Signature:**

```typescript
export interface IAttributeFilterElementsSearchBarProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [isSmall?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.iattributefilterelementssearchbarprops/index.md#iattributefilterelementssearchbarpropsissmall) |  | boolean | **_(BETA)_** _(Optional)_ Render smaller text input |
| [onKeyDown?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.iattributefilterelementssearchbarprops/index.md#iattributefilterelementssearchbarpropsonkeydown) |  | (e: KeyboardEvent) =&gt; void | **_(BETA)_** _(Optional)_ Callback for key down event |
| [onSearch](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.iattributefilterelementssearchbarprops/index.md#iattributefilterelementssearchbarpropsonsearch) |  | (text: string) =&gt; void | **_(BETA)_** Debounced search string callback |
| [searchString](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.iattributefilterelementssearchbarprops/index.md#iattributefilterelementssearchbarpropssearchstring) |  | string | **_(BETA)_** Current search string |

## Property details

### IAttributeFilterElementsSearchBarProps.isSmall

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

Render smaller text input

**Signature:**

```typescript
isSmall?: boolean;
```

### IAttributeFilterElementsSearchBarProps.onKeyDown

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

Callback for key down event

**Signature:**

```typescript
onKeyDown?: (e: KeyboardEvent) => void;
```

### IAttributeFilterElementsSearchBarProps.onSearch

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

Debounced search string callback

**Signature:**

```typescript
onSearch: (text: string) => void;
```

### IAttributeFilterElementsSearchBarProps.searchString

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

Current search string

**Signature:**

```typescript
searchString: string;
```
