Dropdown: TypeError: this.getOptionLabel(...).toLocaleLowerCase is not a function #14865
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Declaring a dropdown with a filter or as editable with e.g. primitive number values (which are allowed according to the documentation), breaks the dropdown filter/edit option with the following error:
Same problem as in issue #14370 and #14682: Has not been fixed yet despite the other issues being closed.
Environment
Chrome
Reproducer
No response
Angular version
17.2.x
PrimeNG version
17.7.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11.0
Browser(s)
No response
Steps to reproduce the behavior
Stackblitz: https://stackblitz.com/~/github.com/shdb2/primeng-dropdown-test-v17
Expected behavior
Filtering and editing should be possible.
The text was updated successfully, but these errors were encountered: