Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom container element? #55

Closed
NiklasBr opened this issue May 20, 2020 · 3 comments
Closed

Custom container element? #55

NiklasBr opened this issue May 20, 2020 · 3 comments

Comments

@NiklasBr
Copy link

I can't figure out if it is possible to declare a custom container, such as:

autocomplete({
    debounceWaitMs: 150,
    input: document.getElementById("product-search"),
    container: document.getElementById("search-dropdown"),
// ...

and

<label class="input-group-field">Search for product names, numbers
    <input id="product-search" type="search" placeholder="Search for product names, numbers">
</label>
<ol id="search-dropdown"></ol>

But it would be really nice if there was. Is there?

@stale
Copy link

stale bot commented May 15, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 15, 2021
@NiklasBr
Copy link
Author

This should still be active

@stale stale bot removed the wontfix label May 16, 2021
@kraaden
Copy link
Owner

kraaden commented Jul 29, 2021

Now you can pass a custom container to the widget. Just install the version 6.1.2

@kraaden kraaden closed this as completed Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants