{{ Textarea }}

Allows any input, but encodes it as text prior to displaying it.

Properties

true/false is_valid
True if the value is not empty
String field_id
The name of the custom field
String value
The raw value of the field, prior to being encoded as text - outputting the raw value may have unexpected results if the value contains any HTML characters (ie: < or >)
String properties
Any additional properties used to configure this field
String output
<span class="mp-field-value mp-field-textarea">the encoded text of the field. Line breaks in the textarea ARE preserved in the form of "<br />" tags.</span>

Sample Use

{% if entity.hero_description.value %} <div class="hero_cta_description"> {{ entity.hero_description }} </div> {% endif %}