Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add support for HTML5 input type "tel" #1948

Closed
nbogol opened this Issue · 3 comments

4 participants

@nbogol

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

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

@Ragazzo

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
@phpnode

@samdark this can now be closed I think

@samdark samdark closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.