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

# Multi Input

The Multi Input field allows users to arbitrarily add one or more values of a predefined type, storing them as an array in the database

<figure><img src="https://strife.app/docs/assets/Screenshot%202023-10-27%20at%2010.34.31.png" alt="" width="375"><figcaption><p>Strife Studio screenshot of an Multi Input field</p></figcaption></figure>

### Settings

In addition to the basic settings, this section provides information about unique settings and configurations specific to this field.

> [!NOTE]
> You can find a comprehensive list of all basic settings in the ['Overview' section](https://strife.app/docs/reference/fields.md).

<table><thead><tr><th width="232">Option</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Type</td><td>Specifies the type of value to insert, which can be one of the following: Text, Number, Email, URL, Tel, Date Time, Date, Month, or Time</td><td></td></tr><tr><td>Auto sort</td><td>Determines whether the field should automatically sort the inserted values as they are added</td><td></td></tr></tbody></table>

### Define with JSON

When defining templates using JSON, this field is represented using:

* **Component Name:** `str-multi-input`
* **Type:** `multi-input`
* Reference ID: `str-multi-input`

The settings above map into the `editor.attributes` object inside the JSON definition.

```json
{
  ...
  "editor": {
    "name": "str-multi-input",
    "type": "multi-input",
    "propertyName": "...",
    "attributes": {
      "inputType": "...", //text|number|email|url|tel|datetime-local|date|month|time
      "sort": false,         
    }
  },
  ...
}
```

### Live preview

> [!NOTE]
> This field does not have any default Strife Web Components. Custom live preview implementations are fully supported.

> [!NOTE]
> For more information on live preview and Strife Web Components, please refer to the [Live preview documentation](https://strife.app/docs/reference/live-preview.md).
