title: How to restrict input textbox to accept only numbers for mobile(android,windows) and webpage in Angular4
body: <p>How to restrict input textbox to accept only numbers for mobile(android,windows) and webpage in Angular4? I am using cordova platform.Initially I used kepress event.it worked fine for webpages but for mobile textbox was accepting special characters.</p>