<ons-input type="number" does not work...



  • Hello,

    <ons-input type=“number”> allows number and character in safari browser.

    Is it possible to make it accept only numbers please?

    Thanks


  • Onsen UI

    @mmike Whatever works for normal input elements should work for ons-input, so you can search how to do that in native inputs. For example, info here.


Log in to reply