Filtering non existing item in p-dropdown [filter=true, group=true] and pressing key down generates error: Dropdown.html:25 ERROR TypeError: Cannot read property '0' of null #10332
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-qrz9jq?file=package.json
Current behavior
After filtring non-existing item and pressing the key down occurs error:
Expected behavior
Error is not expected
Minimal reproduction of the problem with instructions
Open https://github-qrz9jq.stackblitz.io
Filter for "abc" and press key down
What is the motivation / use case for changing the behavior?
Error is not expected.
This is identical reproduction scenario to #10325 only reproduced on latest version.
Please tell us about your environment:
Angular version: 12.0.1
PrimeNG version: 12.0.0-rc.1
Browser: [Chrome 91.0.4472.77 | Firefox 89.0 (64-bit)]
The text was updated successfully, but these errors were encountered: