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 · 1 comment
Open

Allow Text Injection For The Autocomplete Component #182

Hussein-miracle opened this issue Apr 18, 2023 · 1 comment

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.

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