SelectButton | throws a exception when options are changed #11915
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Changing the mode to Multi Select sometimes results in an error because the selection is not updated immediately. To fix this error, the isSelected method should check if the value is of array type.
Environment
Component is updating selectButton to multi Select Mode and resets selected values. This sometimes results in errors.
Reproducer
No response
Angular version
14.0.6
PrimeNG version
14.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.0.1
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: