Select Button error when options are not defined #5913
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/angular-z6zum3
Current behavior
ERROR TypeError: Cannot read property 'length' of undefined
at Object.eval [as updateDirectives] (SelectButton.html:2)
Expected behavior
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Angular version: 6.0
PrimeNG version: 5.2.7
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: