This is a migrated thread and some comments may be shown as answers.

Open numeric keypad on mobile device?

3 Answers 568 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Kjell asked on 10 Feb 2012, 02:34 AM
Is there a way to load the numeric keypad when clicking in the box instead of the full keyboard?  Thank you.

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 10 Feb 2012, 04:26 PM
Hello Kjell,

Currently we change the type of the input element to "text" in order to avoid duplicate arrows in desktop browsers. In order to achieve your goal you will need to set input type to "numeric" after the numerictextbox widget is created. The Q1 2012 release of Kendo UI will set "number" type to the input element when the device supports touch.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Cesar
Top achievements
Rank 1
answered on 23 Jan 2013, 12:40 AM
We are having a similar issue, when we use:
<ul data-role="listview" data-style="inset">
<li style="font-size:1.2em;"><input id="Lts"  name="Lts" type="number" value="" />Lts</li>
</ul>
the numeric keypad is not showing up.

 If we get rid of data-role="listview":
<ul data-style="inset">
<li style="font-size:1.2em;"><input id="Lts"  name="Lts" type="number" value="" />Lts</li>
</ul>

It works, but the listview template is lost, and of course we loose the mobile interface.
0
Georgi Krustev
Telerik team
answered on 25 Jan 2013, 09:41 AM
Hello Cesar,

 
I prepared a simple test page in my attempt to replicate the issue, but to no avail. Also there is a Forms demo, which also uses input type number and everything works as expected.

All the best,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
NumericTextBox
Asked by
Kjell
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Cesar
Top achievements
Rank 1
Share this question
or