[openstreetmap/openstreetmap-website] Add some javascript to check dynamically if the username is already taken (PR #4402)
Pieter Vander Vennet
notifications at github.com
Wed Dec 13 15:46:43 UTC 2023
@pietervdvn commented on this pull request.
> + $("#user_display_name").on("change", function () {
+ checkDisplayName()
+ })
+
+ $("#user_display_name").on("input", function () {
+ checkDisplayName()
+ })
In practice, yes. However, a piece of code (e.g. a password manager) might insert a value programmatically, which might not trigger 'input'
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4402#discussion_r1425546075
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4402/review/1779950118 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231213/bef854a7/attachment.htm>
More information about the rails-dev
mailing list