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

Allow Text Injection For The Autocomplete Component #182

Open
Hussein-miracle opened this issue Apr 18, 2023 · 2 comments
Open

Allow Text Injection For The Autocomplete Component #182

Hussein-miracle opened this issue Apr 18, 2023 · 2 comments

Comments

@Hussein-miracle
Copy link

Is your feature request related to a problem? Please describe.
I'm trying to an input with autocomplete feature but if the user already selected an address they shouldn't have to input it again,so normally i'd just set the default value but it's not allowing that,tried manipulating the Dom and it just doesn't work

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@KostyaSafonov
Copy link

KostyaSafonov commented Jul 10, 2023

Use the "value" property. It works for me.

As a workaround you can also use "placeholder" property and set "&:placeholder" text-color to black when the place string is not empty. But again regular "value" property works just fine.

@m-kiruba
Copy link

Even adding value is not working for me. I am trying to set the initial value of the autocomplete component.

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

3 participants