Open ihor-zinchenko opened 4 years ago
Hi! I'm using angular universal and I've got next error ERROR TypeError: Cannot Cannot set property 'index' of undefined
Compiled code is
maxStars.forEach(starNumber => { let starElement = document.createElement("span"); starElement.dataset.index = (starNumber + 1).toString(); // error starElement.title = starElement.dataset.index; starContainer.appendChild(starElement); this.stars.push(starElement); });
http://joxi.ru/Q2K5BWluLQynlr http://joxi.ru/8239KN6F9Yaovr
I am having the same problem when using SSR with angular universal. However, the error is not reproducible in CSR mode.
have used: "ng-starrating": "1.0.20", angular 9
Hi! I'm using angular universal and I've got next error ERROR TypeError: Cannot Cannot set property 'index' of undefined
Compiled code is
http://joxi.ru/Q2K5BWluLQynlr http://joxi.ru/8239KN6F9Yaovr