Dropdown throwing error on empty selectitem array #220
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
After the latest update, all of my Dropdown components are throwing the following error:
I assume is because of the updateLabel() invoked on ngOnInit().
IMHO additional check for empty array might help resolve this issue..
I'm using primeng 1.0.0-beta.2 with Angular 2.0.0-beta.15
The text was updated successfully, but these errors were encountered: