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

Option to disable auto-focus when "value" not empty #30

Open
canadaka opened this issue Feb 8, 2024 · 1 comment
Open

Option to disable auto-focus when "value" not empty #30

canadaka opened this issue Feb 8, 2024 · 1 comment

Comments

@canadaka
Copy link

canadaka commented Feb 8, 2024

If one provides a default value, the autocomplete suggestions open by default on page load. I would like to disable this, but don't see a way.

<ge-autocomplete value="Something"></ge-autocomplete>

@missinglink
Copy link
Contributor

Hi Trevor, I'm not sure if this is possible due to how the element is coded.

Can you please explain a use case for this? We generally only use value on our docs pages, you might prefer to use placeholder which doesn't trigger a search.

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