float-label chips problem #10725
Labels
LTS-FIXED-10.1.4
Fixed in PrimeNG LTS 10.1.4
LTS-FIXED-11.4.7
Fixed in PrimeNG LTS 11.4.7
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
when we preload the input data for the component chips, the label doesn't move up.
This is due to the missing method ngAfterViewInit() in the component.
In this link we can show a simulation error on stackblitz. Please don't interact with the application to display the error.
https://primeng-inputtext-demo-gods8k.stackblitz.io/page
solution:
file chips.ts
` ngAfterContentInit() {
this.templates.forEach((item) => {
switch(item.getType()) {
case "item":
this.itemTemplate = item.template;
break;
The text was updated successfully, but these errors were encountered: