p-buttonGroup throws console errors when styleClass is applied #16559
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Clicking buttons inside a button group leads to console errors. See either stackblitz example below or this simplified example:
When clicking on one of the buttons, will lead to the following console error:
(Copy&Pasted from the stackblitz example).
This happens only when a button inside a buttonGroup is clicked.
Environment
Reproducer
https://stackblitz.com/edit/stackblitz-starters-1zfded
Angular version
18.1
PrimeNG version
18.0.0-beta.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.20.3
Browser(s)
Chrome
Steps to reproduce the behavior
Clicking a button inside a button-group where the
p-buttonGroup
has astyleClass
.Expected behavior
No response
The text was updated successfully, but these errors were encountered: