RadNumericTextBox on ZEBRA TC70 with Android

3 posts, 0 answers
  1. Vasssek
    Vasssek avatar
    185 posts
    Member since:
    Aug 2010

    Posted 11 Jun 2018 Link to this post

    Hello,

    Could you please give me an info about radnumeric textbox behaviour ? When I want to type some letters on desktop Chrome browser it blinks and prevents me to type any letter. This is OK. But on mobile device TC70 this control allows me to type any lettter and just after I tap to another control the letters have dissappeared.

    Now, I don't know if its bug or normal behaviour. If it's normal, please give me some workaround, how to prevent user to type letters on mobile device into radnumerictextbox control...

    Thank you

    Best regards

    Vasssek

  2. Rumen
    Admin
    Rumen avatar
    14105 posts

    Posted 19 Jun 2018 Link to this post

    Hi Vasssek,

    The solution is to change the type attribute of the RadNumericTextBox input to "tel". This can be done in the OnLoad client event of the control:

    <script>
        function OnLoad(sender, args) {
                sender.get_element().setAttribute("type", "tel");
        }
    </script>
    <telerik:RadNumericTextBox  RenderMode="Lightweight" runat="server" ID="RadNumericTextBox1" Width="190px" Value="1" EmptyMessage="Enter units count" MinValue="0"  ShowSpinButtons="true" NumberFormat-DecimalDigits="0">
        <ClientEvents OnLoad="OnLoad" />
    </telerik:RadNumericTextBox><br />


    Best regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Rumen
    Admin
    Rumen avatar
    14105 posts

    Posted 19 Jun 2018 Link to this post

    Hey there,

    The issue is recognized as a bug and will be fixed in the future version of the control. You can subscribe to the bug report at RadNumericTextBox allows insertion of letters under mobile and follow its fixing there.

    Best regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top