Text area¶
Description¶
Shows a simple text area, the inserted content will be saved as simple string.
Parameters¶
Parameter |
Type |
Description |
---|---|---|
soft_max_length |
string |
Soft limit for maximum number of characters. Will show a character counter (replaces max_characters) |
min_length |
string |
The minimum number of characters |
max_length |
string |
The maximum number of characters |
pattern |
string |
A regex pattern the must be fulfilled by the entered data (e.g. “^[a-zA-Z]*$” will only allow letters) |
Example¶
<property name="description" type="text_area">
<meta>
<title lang="en">Description</title>
</meta>
</property>
Twig¶
{{ content.description }}