{{ textarea }}

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

Properties

string object_type
Will always be "textarea".
true/false is_valid
True if the value is not empty.
string value
The raw unencoded value of the field - outputting the raw value may have unexpected results if the value contains any HTML characters (ie: <, >, ', or ").
html output
The html encoded text of the field. Line breaks in the textarea are converted to "<br />" tags.
html output_in_list
Same as output.
string field_id
The identifier for this field.
html default_value
The default value for this field if no value is specified.

Examples

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

Developer Overview

Liquid Markup