Skip to content

textarea

Simone Montali edited this page Sep 9, 2019 · 2 revisions

TextArea

{
  "id": "textarea",
  "type": "textarea",
  "size": "half",
  "label": "label",
  "description": "description",
  "placeholder": "placeholder",
  "defaultValue": "This is a default text",
  "required": true
}

The TextArea field is used to input/output multiple lines of text. For a single line of text, check the Text field.

Options

For the general settings fields, check the getting started page.

Custom options

The text field has two additional options:

  • "placeholder" stores a placeholder for the field, which is displayed in editing mode.
  • "defaultValue" contains the default value for the text field.

Filters

You can filter the field's fetched value by calling WordPress' add_filter with the tag "aeria_get_base".

Clone this wiki locally