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

Reset Autocomplete form from own component #33

Closed
Twissall opened this issue Feb 19, 2019 · 1 comment
Closed

Reset Autocomplete form from own component #33

Twissall opened this issue Feb 19, 2019 · 1 comment

Comments

@Twissall
Copy link

Is there a way to reset the content of the input field from my own component?

@skynet2
Copy link
Owner

skynet2 commented Jun 1, 2019

@Twissall you should be able to do that with .reset() function.
Example : https://github.com/skynet2/ngx-google-places-autocomplete/blob/master/example/app/app.component.ts#L51

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