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

3 posts, 0 answers
  1. Einar Dahle
    Einar Dahle avatar
    10 posts
    Member since:
    Jun 2010

    Posted 28 Feb 2013 Link to this post

    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. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 28 Feb 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Einar Dahle
    Einar Dahle avatar
    10 posts
    Member since:
    Jun 2010

    Posted 28 Feb 2013 Link to this post

    Hi,

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

    Regards

    Shivanka
Back to Top