Skip to content

combobox autocomplete logic executed multiple times #13312

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

Open
mikerodonnell89 opened this issue May 28, 2025 · 0 comments
Open

combobox autocomplete logic executed multiple times #13312

mikerodonnell89 opened this issue May 28, 2025 · 0 comments

Comments

@mikerodonnell89
Copy link
Member

See video below, in which I've added console logging to three functions on combobox.component.ts - writeValue (from control value accessor), inputText setter, and handleAutoComplete. Note that when clicking an option, handleAutoComplete is called twice. I'm not sure it's even necessary to run any autocomplete logic here, we could just populate the input with the clicked option

Screen.Recording.2025-05-28.at.5.10.09.PM.mov
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

1 participant