{% comment %} * Parameters * id: string name: string (optional) label: string placeholder: string required: boolean (optional) optional_text: string (optional) helper_text: string (optional) value: string (optional) disabled: boolean (optional) class: string (optional) left_icon: string (optional) right_icon: string (optional) state: string (optional) - options: default, error {% endcomment %}
{% if left_icon or left_text %}
{% if left_text %} {{ left_text }} {% endif %} {% if left_icon %} {% endif %}
{% endif %} {% if right_icon or right_text or right_action %}
{% if right_text %} {{ right_text }} {% endif %} {% if right_icon %} {% endif %} {% if right_action %} {{ right_action }} {% endif %}
{% endif %}
{% if helper_text %} {% endif %}