[openstreetmap/openstreetmap-website] Fix social link form resubmission after removing invalid link (PR #6945)

Marwin Hochfelsner notifications at github.com
Sat Mar 28 14:01:13 UTC 2026


@hlfan commented on this pull request.



> @@ -21,6 +21,7 @@ $(function () {
       if (destroyCheckbox) {
         destroyCheckbox.checked = true;
         row.addClass("d-none");
+        row.find("input[type='text']").removeAttr("required");

Why isn't the same thing done in the :checked.each loop?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6945?email_source=notifications&email_token=AAK2OLLOOYGE6D4ZHVFFND34S7LKTA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMBSGU3DAOBRGQ3KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS6XA4S7OJSXM2LFO5PW433UNFTGSY3BORUW63TTL5RWY2LDNM#pullrequestreview-4025608146
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6945/review/4025608146 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260328/d6f49ff4/attachment.htm>


More information about the rails-dev mailing list