]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/SearchSectionDetails.svelte
Svelte 3.x -> 4.x
[nominatim-ui.git] / src / components / SearchSectionDetails.svelte
index def887386df64d9dd115cd0953b2574bb0acfb9b..f23a24c06bb4cc75905bce366428a42ed19eb183 100644 (file)
 <form on:submit|preventDefault={handleFormSubmit} class="form-inline" action="details.html">
   <div class="row g-1">
     <div class="col-auto">
+      <!-- eslint-disable-next-line max-len -->
       <input type="edit"
              class="form-control form-control-sm me-1"
              pattern="^[NWRnwr]?[0-9]+$|.*openstreetmap.*"
-             value="{api_request_params.osmtype || ''}{api_request_params.osmid || ''}{api_request_params.place_id || ''}" />
+             value="{
+              (api_request_params.osmtype || '')
+              + (api_request_params.osmid || '')
+              + (api_request_params.place_id || '')
+            }" />
       </div>
     <div class="col-auto">
       <button type="submit" class="btn btn-primary btn-sm">Show</button>