> From the [Strife developer docs](https://strife.app/docs/reference/field-reference/fields.multiinput). Every page is listed in [llms.txt](https://strife.app/docs/llms.txt).

# fields.multiInput()

A repeatable list of same-typed primitive values (text, number, email, date, etc).

A repeatable list of same-typed primitive values. Maps to editor `{ name: 'str-multi-input', type: 'multi-input' }`. The `inputType` (default `'text'`) controls both the UI input and the output element type.

## Example

```ts
fields.multiInput({
  label: 'Email addresses',
  inputType: 'email',
  sort: true,
})
```

## Options

| Option         | Type                                                                                                 | Required | Description                                                |
| -------------- | ---------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------- |
| `label`        | `string`                                                                                             | Yes      | Label shown to editors in Strife Studio.                   |
| `description`  | `string`                                                                                             | No       | Tooltip shown to editors.                                  |
| `searchable`   | `boolean`                                                                                            | No       | Include in the team's search index.                        |
| `filterable`   | `boolean`                                                                                            | No       | Allow filtering content lists by this value.               |
| `protected`    | `boolean`                                                                                            | No       | Restrict editing to users with the appropriate permission. |
| `propertyName` | `string`                                                                                             | No       | Override the stored property name.                         |
| `inputType`    | `'text' \| 'number' \| 'email' \| 'url' \| 'tel' \| 'datetime-local' \| 'date' \| 'time' \| 'month'` | No       | The repeated input's type. Default `'text'`.               |
| `sort`         | `boolean`                                                                                            | No       | Auto-sort entries as they're entered.                      |

No `localizable` option.

## Output type

`number[]` when `inputType: 'number'`; `string[]` for every other input type (dates are stored as strings).

## See also

* [Multi Input](https://strife.app/docs/reference/fields/multi-input.md) — the same editor, documented from the Strife Studio UI side.
* [`fields.repeatable()`](https://strife.app/docs/reference/field-reference/fields.repeatable.md) — a similar repeatable-primitive shape with a narrower type set (including `link`) and a different editor.
