Skip to content

Commit

Permalink
added clear button to the store locator autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
1rosehip committed Aug 26, 2016
1 parent f126fca commit 6b97e46
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 68 deletions.
21 changes: 12 additions & 9 deletions demo/16-store-locator-bundle.html
Expand Up @@ -145,15 +145,18 @@ <h1 class="h1-30-normal">jPList Store Locator Bundle</h1>
</ul>
</div>

<input
class="jplist-map-autocomplete"
data-control-type="google-autocomplete-control"
data-control-name="google-autocomplete-control"
data-control-action="filter"
data-radius="100000"
type="text"
placeholder="Enter a location"
/>
<div class="jplist-map-autocomplete">
<i class="fa fa-map-marker jplist-icon" aria-hidden="true"></i>
<input
data-control-type="google-autocomplete-control"
data-control-name="google-autocomplete-control"
data-control-action="filter"
data-radius="100000"
type="text"
placeholder="Enter a location"
/>
<i class="fa fa-times-circle jplist-clear" aria-hidden="true" data-type="clear"></i>
</div>

<!-- data-radius in meters -->

Expand Down
2 changes: 1 addition & 1 deletion dist/css/jplist.core.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/jplist.store-locator-bundle.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6b97e46

Please sign in to comment.