#19596·primeng

autofocusFilter behavior is inconsistent between select and multiselect

Author: ryanruppCreated May 22, 2026Updated Sep 14, 2026
LabelsType: BugStatus: Discussion

Describe the bug

The default behavior of autofocusFilter is different between select and multiselect after this commit here but I'm not sure of the motivation for that change. Not sure if this is a bug really but if not would consider changing this back to true for multiselect on the next major release. Reasoning being I think they should be consistent and from a UX perspective having this on by default seems to function best (as a workaround we added [autofocusFilter]="true" to all usages).

Happy to submit a PR but not sure if this is intentional etc.

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://primeng.org/multiselect#filter

Environment

Chrome 148 any OS

Angular version

20.3.15

PrimeNG version

v20

Node version

No response

Browser(s)

Chrome 148

Steps to reproduce the behavior

Create multiselect component vs select with default settings

Expected behavior

Multiselect should auto select the filter input by default