# AutocompleteViewConfig

interface

The configuration of the [`SearchTextView`](module_ui_search_text_searchtextview-SearchTextView.md) class.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/autocomplete/autocompleteview.ts#L221)

<a id="type-parameters">

## Type parameters

### `TConfigInputCreator: extends InputBase<HTMLInputElement | HTMLTextAreaElement>`

<a id="properties">

## Properties

<a id="member-class">

### `class?: string` _(inherited)_

The custom CSS class name to be added to the search view element.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/search/text/searchtextview.ts#L378)

<a id="member-filteredView">

### `filteredView: FilteredView` _(inherited)_

The view that is filtered by the search query.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/search/text/searchtextview.ts#L342)

<a id="member-infoView">

### `infoView?: object` _(inherited)_

The view that displays the information about the search results.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/search/text/searchtextview.ts#L347)

<a id="member-queryMinChars">

### `queryMinChars?: number`

Minimum number of characters that need to be typed before the search is performed.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/autocomplete/autocompleteview.ts#L235)

Defaults to `0`

<a id="member-queryView">

### `queryView: SearchTextQueryViewConfig<TConfigInputCreator>` _(inherited)_

The configuration of the view's query field.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/search/text/searchtextview.ts#L337)

<a id="member-resetOnBlur">

### `resetOnBlur?: boolean`

When set `true`, the query view will be reset when the autocomplete view loses focus.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-ui/src/autocomplete/autocompleteview.ts#L228)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
