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

Get the numeric pad when focused on the numeric field + IPAD

2 Answers 57 Views
This is a migrated thread and some comments may be shown as answers.
Einar Dahle
Top achievements
Rank 1
Einar Dahle asked on 28 Feb 2013, 11:15 AM
Hi,
 
        Is it possible to get the numeric pad when user clicks on a kendo numeric text field? like <input type="number"> in HTML5.
even I set the input field to be type number, when I wrap it with kendo numeric field it converts to type text.

Regards
Shivanka

2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 28 Feb 2013, 12:49 PM
Hello Shivanka,

 
When NumericTextBox widget is initialized, it changes the type of the input element to text. This is obligatory, because <input type=number> has many restrictions, like it does not allow globalized numbers or formatted strings. Hence the widget cannot use <input type=number> to operate normally.
If showing the numeric keypad is a must, then I will suggest you not use the NumericTextBox widget.

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
Einar Dahle
Top achievements
Rank 1
answered on 01 Mar 2013, 03:36 AM
Hi,

      putting pattern attribute to kendoNumeric field saved my day. Ex. <input type="text" pattern="[0-9]*" />

Regards

Shivanka
Asked by
Einar Dahle
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Einar Dahle
Top achievements
Rank 1
Share this question
or