Text box issue


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



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.


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

Example of doing so :