@if ($type === 'tel')
style" />
style" />
style" />
@elseif ($type === 'tel_v2')
style"
pattern="^[0-9\s\(\)\.\+\-]*$"
/>
@elseif ($type === 'tel_intl' || $type === 'tel_intl_v2')
@php
$lang_type = Context::getLangType();
$lang_sort = $lang_type === 'ko' ? Rhymix\Framework\i18n::SORT_NAME_KOREAN : Rhymix\Framework\i18n::SORT_NAME_ENGLISH;
$countries = Rhymix\Framework\i18n::listCountries($lang_sort);
$tempid = $definition->getNextTempID();
if (is_array($value) && count($value) && ctype_alpha(end($value))) {
$selected_iso_code = end($value);
} else {
$selected_iso_code = null;
}
@endphp
@if ($type === 'tel_intl')
style" />
style" />
style" />
@else
style"
pattern="^[0-9\s\(\)\.\+\-]*$"
/>
@endif
@endif