Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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?
-
@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! :)