[openstreetmap/openstreetmap-website] Prevent GPX trace upload form on website from violating API restrictions (Issue #3594)
Anton Khorev
notifications at github.com
Thu Jul 14 20:09:48 UTC 2022
> Possible solution: Either use the slightly dated `maxlength` attribute on the `input` box or make a javascript check to not allow the form to be submitted if the description exceeds the maximum allowed characters.
Why is `maxlength` dated? It won't let you submit the form with too many characters and it will display the error message.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3594#issuecomment-1184851406
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3594/1184851406 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220714/508405b6/attachment.htm>
More information about the rails-dev
mailing list