type="text"
class="form-control form-control-sm"
placeholder="Search"
- value="{api_request_params.q || ''}" />
+ value="{api_request_params.q || ''}"
+ autofocus />
</div>
<div class="col-auto">
<button type="submit" class="btn btn-primary btn-sm mx-1">Search</button>
<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 || ''}"
+ autofocus />
</div>
<div class="col-auto">
<button type="submit" class="btn btn-primary btn-sm">Show</button>
class="form-control form-control-sm d-inline"
placeholder="latitude"
pattern="^-?\d+(\.\d+)?$"
+ autofocus
bind:value={lat}
on:change={maybeSplitLatitude} />
</div>