Text box issue


#1

Hi Community,
I need a code for text box which accepts only numbers…anyone help me…

Regards,
Yuvaraj…


#2

This is less of an ionic issue and more of a html issue. I found this on stack overflow, it should get you in the right direction.


#3

You can also create a directive (numbersOnly?) that filters keys.

Example of doing so :