You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output should be something like: <input type="tel" id="jform_name_of_field" name="jform[name_of_field]" class="validate-phone required" value="" size="30" />
Actual result
<input type="tel" id="jform_name_of_field " name="jform[name_of_field]" class="validate-phone required" value="" size="30" />
There is a space in ID attribute!!
Javascript function like jQuery('#jform_name_of_field') do not works
System information (as much as possible)
Joomla 3.7.2
Additional comments
to fix this you need to remove space char in file /layouts/joomla/form/field/tel.php at line 71
The text was updated successfully, but these errors were encountered:
Steps to reproduce the issue
Each form that contain tel phone field
Expected result
Output should be something like:
<input type="tel" id="jform_name_of_field" name="jform[name_of_field]" class="validate-phone required" value="" size="30" />
Actual result
<input type="tel" id="jform_name_of_field " name="jform[name_of_field]" class="validate-phone required" value="" size="30" />
There is a space in ID attribute!!
Javascript function like jQuery('#jform_name_of_field') do not works
System information (as much as possible)
Joomla 3.7.2
Additional comments
to fix this you need to remove space char in file /layouts/joomla/form/field/tel.php at line 71
The text was updated successfully, but these errors were encountered: