We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to indicate to the mobile keyboard only numeric entry


Masked Text Box allows you to put in a numeric mask, however, on the mobile it pops up the full keyboard.

If I do something like

<ejs-maskedtextbox mask="90:00" :htmlAttributes="numerics" floatLabelType="Never" placeholer="HH:MM" :value="hhmm"> </ejs-maskedtextbox>

with

numerics:{
          type:"number"
        },


it will popup the correct numeric keypad, however it destroys the masked entry.   Is there a way to do this without killing the control?

1 Reply

VK Vinoth Kumar Sundara Moorthy Syncfusion Team September 17, 2019 08:45 AM UTC

Hi Keith, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your requirement and it can be achieved by setting “type” property to tel. Please refer the below UG link to enable numeric keypad in MaskedTextBox, 
 
 
Could you please check the above UG link and get back to us if you need any further assistance on this? 
 
Regards, 
Vinoth Kumar S 


Loader.
Live Chat Icon For mobile
Up arrow icon