Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout of Tel field type have a small error #16523

Closed
fdesanto opened this issue Jun 4, 2017 · 3 comments
Closed

Layout of Tel field type have a small error #16523

fdesanto opened this issue Jun 4, 2017 · 3 comments

Comments

@fdesanto
Copy link

fdesanto commented Jun 4, 2017

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

@C-Lodder
Copy link
Member

C-Lodder commented Jun 4, 2017

PR: #16524

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16523

@ghost
Copy link

ghost commented Jun 4, 2017

closed as having PR #16524
closed as having PR #16526


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16523.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants