{strip}
    {if isset($value, $value.value) && ($value.value !== '' || isset($fallbackValue) && $fallbackValue !== '')}
        {block name="et-textfield"}
            {if isset($asRow) && $asRow}
                <div class="row">
                <div class="col">
            {/if}
            <{if isset($value, $value.tag) && $value.tag !== '' && $value.tag !== 'default'}{$value.tag}{elseif isset($type) && $type !== ''}{$type}{else}div{/if} class="et-textfield text-align-{if !empty($value.textAlignment)}{$value.textAlignment}{else}default{/if}{if !empty($classes)} {$classes}{/if}{if isset($value.style, $value.style.classes)} {$value.style.classes}{/if}{if (!isset($value, $value.tag) || $value.tag === 'default') && !empty($typeClass)} {$typeClass}{/if}"{if isset($value.style, $value.style.styles)} style="{$value.style.styles}"{/if}>
                {block name="et-textfield-content"}
                    {if !empty($isCollapseControl)}<i class='{et_getIcon key="collapseOpen"} et-collapse-open'></i><i class='{et_getIcon key="collapseClosed"} et-collapse-closed'></i>{/if}
                    {if !empty($prepend)}{$prepend}{/if}{if $value.value !== ''}{$value.value}{else}{$fallbackValue}{/if}{if !empty($append)}{$append}{/if}
                    {if !empty($isDropdownControl)}<i class='{et_getIcon key="dropdownOpen"} et-dropdown-open'></i><i class='{et_getIcon key="dropdownClosed"} et-dropdown-closed'></i>{/if}
                {/block}
            </{if isset($value, $value.tag) && $value.tag !== '' && $value.tag !== 'default'}{$value.tag}{elseif isset($type) && $type !== ''}{$type}{else}div{/if}>
            {if isset($asRow) && $asRow}
                </div>
                </div>
            {/if}
        {/block}
    {/if}
{/strip}