You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First value on sugesttion (after typing some sign in inputFilter and narrow list) is not focused so selecting item by clicking "Enter" is not possible.
For workaround I've used @ViewChild('ms') multiselect: MultiSelect; and in callback onFilter() calling this.multiselect.focusedOptionIndex.set(this.multiselect.findFirstOptionIndex()) will do the job :)
Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨
Describe the bug
First value on sugesttion (after typing some sign in inputFilter and narrow list) is not focused so selecting item by clicking "Enter" is not possible.
Environment
Windows, Chrome
Reproducer
No response
Angular version
18.2.8
PrimeNG version
17.18.11
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
22.4.0
Browser(s)
Chrome 130
Steps to reproduce the behavior
Expected behavior
First value on suggestions should be focued if autoOptionFocus is set to true.
The text was updated successfully, but these errors were encountered: