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

RadNumericTextBox on ZEBRA TC70 with Android

2 Answers 27 Views
Input
This is a migrated thread and some comments may be shown as answers.
Vasssek
Top achievements
Rank 1
Vasssek asked on 11 Jun 2018, 08:01 AM

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 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Jun 2018, 12:58 PM
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.
0
Rumen
Telerik team
answered on 19 Jun 2018, 04:08 PM
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.
Tags
Input
Asked by
Vasssek
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or