PickList | clicking on p-picklist would cause TypeError: Cannot read properties of undefined (reading 'getAttribute') #14339
Labels
LTS-16-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When either availalbe or selected list is empty, clicking on p-picklist would cause TypeError: Cannot read properties of undefined (reading 'getAttribute') at PickList.changeFocusedOptionIndex (primeng-picklist.mjs:937:48)
Environment
Microsoft Edge for Business version 10.0.2210.61
Reproducer
https://www.primefaces.org/primeng-v16/picklist
Angular version
16.2.12
PrimeNG version
16.9.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0 and 16.9.1
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No error in console output when empty picklist is clicked or receives focus
The text was updated successfully, but these errors were encountered: