primeng
primeng copied to clipboard
Rating fails under Push change detection
I'm submitting a ...
[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
Plunkr Case (Bug Reports) http://plnkr.co/edit/WPbR9XmbgddrrpfgIdbZ?p=preview
Current behavior Rating input in turbo-table component works incorrect with Angular OnPush change detection strategy.
Minimal reproduction of the problem with instructions The rating component does not work properly when embedded into p-table in AOT mode. In the attached plunker, click on a star in the First rating column The value would change as expected, but the rating control will not redraw itself Click anywhere in the grid and the rating will redraw itself.
Please tell us about your environment: Window 10, Webstorm 2017.3.3
- Angular version: 5.2.1
- PrimeNG version: 5.2.0-rc.2
- Browser: all
- Language: TypeScript
- Node (for AoT issues):
node --version= v9.4.0