---
url: /reference/api/logger/prompts.Interface.AutocompleteMultiSelectOptions.md
---
# Interface: AutocompleteMultiSelectOptions\<Value>

Defined in: node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:189

Options for the [autocompleteMultiselect](prompts.Variable.autocompleteMultiselect.md) prompt

## Extends

* `AutocompleteSharedOptions`<`Value`>

## Type Parameters

&#x20;`Value`

## Properties

&#x20;`accessible?`

`boolean`

‐

`AutocompleteSharedOptions.accessible`

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:42

&#x20;`filter?`

(`search`, `option`) => `boolean`

Custom filter function to match options against the search input.

`AutocompleteSharedOptions.filter`

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:143

&#x20;`initialValues?`

`Value`\[]

The initially selected option(s) from the list.

‐

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:193

&#x20;`input?`

`Readable`

‐

`AutocompleteSharedOptions.input`

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:38

&#x20;`maxItems?`

`number`

The maximum number of items/options to display in the autocomplete list at once.

[`AutocompleteOptions`](prompts.Interface.AutocompleteOptions.md).[`maxItems`](prompts.Interface.AutocompleteOptions.md#property-maxitems)

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:128

&#x20;`message`

`string`

The message or question shown to the user above the input.

[`AutocompleteOptions`](prompts.Interface.AutocompleteOptions.md).[`message`](prompts.Interface.AutocompleteOptions.md#property-message)

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:117

&#x20;`options`

| [`Option`](prompts.TypeAlias.Option.md)<`Value`>\[] | ((`this`) => [`Option`](prompts.TypeAlias.Option.md)<`Value`>\[])

The options to present, or a function that returns the options to present
allowing for custom search/filtering.

**See**

https://bomb.sh/docs/clack/packages/prompts/#dynamic-options-getter

`AutocompleteSharedOptions.options`

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:124

&#x20;`output?`

`Writable`

‐

`AutocompleteSharedOptions.output`

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:39

&#x20;`placeholder?`

`string`

Placeholder text displayed when the search field is empty. When set, pressing
tab copies the placeholder into the input.

[`AutocompleteOptions`](prompts.Interface.AutocompleteOptions.md).[`placeholder`](prompts.Interface.AutocompleteOptions.md#property-placeholder)

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:133

&#x20;`required?`

`boolean`

When `true` at least one option must be selected.

**Default**

```ts twoslash
// @include: imports
false;
```

‐

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:198

&#x20;`signal?`

`AbortSignal`

‐

`AutocompleteSharedOptions.signal`

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:40

&#x20;`validate?`

`Validate`<`Value` | `Value`\[]>

A function or a [Standard Schema](https://github.com/standard-schema/standard-schema)
that validates user input. If a custom function is given, you should return a `string` or `Error`
to show as a validation error, or `undefined` to accept the result.

`AutocompleteSharedOptions.validate`

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:139

&#x20;`withGuide?`

`boolean`

‐

`AutocompleteSharedOptions.withGuide`

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:41
