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.
maxlength with an input field?
qroft last edited by
I have just added the maxlength=x attribute to an input field but it does not work.
Do i have to relay on an extra plugin for form validation?
@qroft I think it works: https://codepen.io/frankdiox/pen/mPYRVv?editors=1000
meisam3322 last edited by
thanks for your help. but it doesn’t work when i use type attribute as number. is there any way to solve it please ?
@meisam3322 That’s how HTML5 works. But Google and SOF have a bunch of solutions for you.