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

Already on GitHub? Sign in to your account

Add support for HTML5 input type "tel" #1948

Closed
nbogol opened this Issue Jan 10, 2013 · 3 comments

Comments

4 participants

nbogol commented Jan 10, 2013

Type="tel" does not really differs much from the type="text" except at least one thing:
On iOS devices (iPad, iPhone) it will trigger special keyboard with numeric digits
on the top row!
The one would say type="number" will do that ... Yes, but "number" type won't
allow you to enter anything but numeric digit.
Type "tel" is a must if you are targeting iPad users and your web form contain
alpha-numeric fields such as formatted telephone numbers,
European zip codes, street addresses, etc.

Thank you.
P.S.

  1. This issue is supposed to be an "Enhancement",
    and so far I do not see where I should mark it as such ...
  2. This will be my first Pull request ... my apologies if anything goes wrong.

nbogol commented Jan 10, 2013

Not sure how this works - should you assign this issue to me or I can just issue pull request?

Ragazzo commented Jan 10, 2013

Issue will be marked by core-developers. Feel free to create PR on this issue. just mention it in your PR and name PR according this rules:
https://github.com/yiisoft/yii/wiki/Git-workflow-for-Yii-contributors

This was referenced Jan 12, 2013

@samdark samdark added a commit that referenced this issue Feb 12, 2013

@samdark samdark Merge pull request #2103 from phpnode/1948-fix-html5-input-types
#1948 tidy up html5 input types
6d3abf1
Contributor

phpnode commented Feb 12, 2013

@samdark this can now be closed I think

@samdark samdark closed this Feb 12, 2013

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