Input min and max



  • So as the title suggests, how is it designed to work? When used like described here: https://onsen.io/v2/docs/js/input.html

    I would expect some sort of validation, but I am unable to trigger it and thus users can input number values higher or lower than anticipated. Does this require the required value, be in a form, and trigger the form submit?


  • Onsen UI

    @munsterlander It behaves the same way as a normal HTMLInput element. We just wrap it and apply styles. There is a related topic here, maybe you can find something useful :)



  • @Fran-Diox Thats what I suspected (and knew as well - I guess I was hoping for a different solution!). I didn’t try anything but now I guess I will need too! :)


Log in to reply