Skip to content

Commit

Permalink
feat: update search bar place holder
Browse files Browse the repository at this point in the history
  • Loading branch information
lpernelle-woosmap committed Jan 7, 2025
1 parent 3ec2feb commit 28b2870
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion samples/localities-search/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<input
type="text"
id="autocomplete-input"
placeholder="Search a place in UK..."
placeholder="Search for a place in the UK..."
autocomplete="off"
/>
<button aria-label="Clear" class="clear-searchButton" type="button">
Expand Down
2 changes: 0 additions & 2 deletions samples/localities-search/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ let addressDetailsContainer: HTMLElement;

const woosmap_key = "YOUR_API_KEY";

// @ts-nocheck
function initMap(): void {
map = new window.woosmap.map.Map(
document.getElementById("map") as HTMLElement,
Expand Down Expand Up @@ -40,7 +39,6 @@ https://api.woosmap.com/localities/search?types=point_of_interest|locality|admin
}
};

// @ts-nocheck
function fillAddressDetails(
addressDetails: any
) {
Expand Down

0 comments on commit 28b2870

Please sign in to comment.