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

Fix: Issue-317 set autocomplete attribute for search countries input #454

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rene-guerrero
Copy link

There is an open issue requesting this. This simple feature saves innecesary code for removing the default browser suggestions for the search countries input that overlaps the countries dropdown.

@rene-guerrero
Copy link
Author

@pasevin @webcat12345 please have a look

@@ -21,6 +21,7 @@
(keyup)="searchCountry()"
(click)="$event.stopPropagation()"
[placeholder]="searchCountryPlaceholder"
[autocomplete]="searchCountryAutocomplete"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This parameter name doesn't match with the functionality. Please make it more readable. searchCountryAutocomplete maybe. And make it boolean not string.

Copy link
Author

@rene-guerrero rene-guerrero May 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the reply I will make it boolean. What do you mean with "searchCountryAutocomplete maybe", it's literally the same name i used. What about enableSearchCountryAutocomplete?
Also do you think it should be enabled or disabled by default?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants