Skip to content

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

(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.

@cmckni3 cmckni3 changed the title Fix: Issue-317 set autocomplete attribute for search countries input fix: Issue-317 set autocomplete attribute for search countries input Feb 28, 2025
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