-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component: Dropdown TypeError: option.toLowerCase is not a function (PringNG 17.0 + 17.1) #14370
Comments
I have the same issue |
possible duplicate of: |
Also the filterBy option is not working |
It works for me, i forked your stackblitz https://stackblitz.com/edit/hhk8ms-gucjhk?file=src%2Fapp%2Fdemo%2Fdropdown-reactive-forms-demo.html and it works, only added "filterBy" |
I've updated my project to 17.4.0 and the filter still throws the same error. As others have mentioned adding filterBy would solve the issue. Alternatively setting Additionally the Dropdown loses it's chosen value while filtering. |
I must agree, I have the same problem with the same version. The bug of losing its selected value when filtering is really weird. It loses the value when typing, but it reappears when you delete the typed characters. |
Describe the bug
Ever since upgrading to primeng 17.x the dropdown is broken, at the very least when using it with a form control.
Might be related to #14241
Environment
Mac OSX, Chrome
Reproducer
https://stackblitz.com/edit/hhk8ms?file=src%2Fapp%2Fdemo%2Fdropdown-reactive-forms-demo.html
Angular version
17.0.5
PrimeNG version
17.1.0
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
20.10.0
Browser(s)
Chrome
Steps to reproduce the behavior
Expected behavior
it should work
The text was updated successfully, but these errors were encountered: