> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assistantscenter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Text Area

```
DBD.formTypes.textarea(placeholder, min, max, disabled, required),
```

<ParamField path="placeholder" type="string" required>
  Input placeholder.
</ParamField>

<ParamField path="min" type="number" required>
  Minimum length.
</ParamField>

<ParamField path="max" type="number" required>
  Maximum length.
</ParamField>

<ParamField path="disabled" type="boolean" required>
  Indicate if the textarea should be disabled or not.
</ParamField>

<ParamField path="required" type="boolean" required>
  Indicate if the textarea should be required or not.
</ParamField>

## Data required for getActualSet function

String, value to be displayed.

## Data returned

String, value set | or null.

## Example Usage

```javascript theme={null}
{
    optionId: 'longtext',
    optionName: "Message on member join.",
    optionDescription: "Set message on member join.",
    optionType: DBD.formTypes.textarea('Set message on member join...', null, 100, false, false), // reqired false (if empty reset to default)
    getActualSet: async ({guild}) => {
        return welcomeData[guild.id];
    },
    setNew: async ({guild,newData}) => {
        welcomeData[guild.id] = newData || null;
        return;
    }
},
```

<img height="200" src="https://mintcdn.com/assistantscenter/e0fzjuWUPc5-sSJC/images/formtypes/dbd-textarea.png?fit=max&auto=format&n=e0fzjuWUPc5-sSJC&q=85&s=81c4aa11dbfd6d587f4961ac90e28e45" data-path="images/formtypes/dbd-textarea.png" />
