<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomhughes/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a> Thank you for the comment. I agree with you about the complexity of the code, but there are several reasons for both methods.</p>
<p dir="auto">Changing location name manually solves cases like:</p>
<ol dir="auto">
<li>Disputed areas - someone living in the area A may not want to show that area is part of country B and not C.</li>
<li>Several countries - someone who has citizenship of several countries may want to set his location name to something like "Georgia & Germany"</li>
<li>Choosing privacy - someone may want to explicitly mention "Tbilisi, Georgia", but someone may want to just show the country and keep other details private</li>
</ol>
<p dir="auto">Meanwhile, changing location with Nominatim autofill introduces:</p>
<ol dir="auto">
<li>Better UX - if user is okay with showing only home country, autofill avoids extra typing from user</li>
<li>Standardization - default value introduces default standard for user to easily perceive what kind of and what detalization of information is recommended for the field</li>
<li>Motivation to fill - when user sees a warning about the field that it doesn't match home location, it subconsciously motivates him to click the autofill button (just one easy click) and increases use of the feature</li>
</ol>
<p dir="auto">By choosing only one solution we sacrifice either functionality or better UX.</p>
<p dir="auto">Currently, autofill suggests name of the country and warning is only shown if manually typed location doesn't contain country name. Therefore, "Germany & Georgia", "Tbilisi, Georgia", "Georgia" won't show any autofill warning if user has home location set in Georgia.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5302#issuecomment-2464688461">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPGTV66TUXD6GB6K2DZ7SYCJAVCNFSM6AAAAABRF74QGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRUGY4DQNBWGE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIHLTROZPHW2AA6FATZ7SYCJA5CNFSM6AAAAABRF74QGWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUS5AUU2.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5302/c2464688461</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>