-
Notifications
You must be signed in to change notification settings - Fork 5
text
Simone Montali edited this page Sep 9, 2019
·
2 revisions
{
"id": "subtitle",
"type": "text",
"label": "Subtitle",
"description": "The book subtitle",
"size": "half",
"placeholder": "placeholder",
"defaultValue": "This is a default text",
"required": true,
}
The text field can input/output text on a single line. For longer texts, check the TextArea field.
For the general settings fields, check the getting started page.
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.
You can filter the field's fetched value by calling WordPress' add_filter with the tag "aeria_get_base"
.