You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after changes introduced in 17.15.0 template handling, using template checkicon causes an error to be raised on selecting an item in the popup:
vendor.js:41996 ERROR TypeError: templateRef.createEmbeddedViewImpl is not a function
at ViewContainerRef.createEmbeddedView (vendor.js:52142:33)
at NgTemplateOutlet.ngOnChanges (vendor.js:28787:40)
at NgTemplateOutlet.rememberChangeHistoryAndInvokeOnChangesHook (vendor.js:39553:10)
at callHookInternal (vendor.js:40582:10)
at callHook (vendor.js:40609:5)
at callHooks (vendor.js:40566:9)
at executeInitAndCheckHooks (vendor.js:40521:5)
at selectIndexInternal (vendor.js:46448:9)
at Module.ɵɵadvance (vendor.js:46432:3)
at MultiSelectItem_ng_container_3_span_2_Template (vendor.js:170190:60)
try swapping to itemcheckboxicon error goes but template is ignored.
use template for checkicon see that error is raised in console when a checkbox is ticked
use template for itemcheckboxicon see there is no error and the template is ignored.
Expected behavior
No errors templates work, should be able to continue to use checkicon as it is in depreciation and not removed.
The text was updated successfully, but these errors were encountered:
cetincakiroglu
added
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Jun 13, 2024
Describe the bug
after changes introduced in 17.15.0 template handling, using template checkicon causes an error to be raised on selecting an item in the popup:
try swapping to itemcheckboxicon error goes but template is ignored.
Environment
reproducible in stackblitz
Reproducer
https://stackblitz.com/edit/asbm6h?file=src%2Fapp%2Fmulti-select-basic-demo.html
Angular version
18.0.1
PrimeNG version
17.18.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.14.0
Browser(s)
No response
Steps to reproduce the behavior
use template for checkicon see that error is raised in console when a checkbox is ticked
use template for itemcheckboxicon see there is no error and the template is ignored.
Expected behavior
No errors templates work, should be able to continue to use checkicon as it is in depreciation and not removed.
The text was updated successfully, but these errors were encountered: