#3630 city requried bug

This commit is contained in:
Diatrex 2021-03-29 12:05:37 +03:00
parent 106a121139
commit c0ef36ecef

View File

@ -55,8 +55,10 @@
</label>
<div class="input-wrapper validate-phone">
{{ form.fields.phone.setValue(form.fields.phone.value).input|raw }}
<div id="default-phone-country" class="hidden">{{ setting_value('visiosoft.module.location::country_for_phone_field') }}</div>
{{ form.fields.phone.setAttributes({'maxlength': 15}).setValue(form.fields.phone.value).input|raw }}
<div id="default-phone-country" class="hidden">
{{ setting_value('visiosoft.module.location::country_for_phone_field') }}
</div>
</div>
</div>
</div>