<input type="text" placeholder="Input text" id="some-id" />
{% set input %}
  <input type="{{ type }}"
    {{ placeholder ? 'placeholder="' ~ placeholder ~ '"' }}
    {{ value ? 'value="' ~ value ~ '"' }}
    {{ class ? 'class="' ~ class ~ '"' }}
    {{ id ? 'id="' ~ id ~ '"' }}
    {{ attr ? attr }} />
{% endset %}

{% if overlay_icon %}
  <span class="input-icon-overlay {{ overlay_icon }}">{{ input }}</span>
{% else %}
  {{ input }}
{% endif %}
{
  "type": "text",
  "placeholder": "Input text",
  "value": null,
  "id": "some-id"
}

There are no notes for this item.