I've created a demo where the issues listed below are reproducible.
https://github.com/peakpondered/primeng-10-hybrid
I posted earlier about my issues with the dropdown component here, but I previously couldn't reproduce the issue in a demo.
viewtopic.php?f=35&t=64067
The hybrid angularjs/angular app listed above can reproduce the issue.
Issue #1
When I set the optionLabel using this syntax, my option is not honoured and I see 'empty' for each item
Code: Select all
[optionLabel]="'name'"
This only happens with Ivy enabled. When Ivy is disabled, everything works as documented.
Code: Select all
<p-dropdown
[options]="cities"
[(ngModel)]="selectedCity1"
placeholder="Select a City"
[optionLabel]="'name'"
></p-dropdown>
With Ivy enabled, interpolation syntax will work fine.
Code: Select all
<p-dropdown
[options]="cities"
[(ngModel)]="selectedCity1"
placeholder="Select a City"
optionLabel="{{optionLabel}}"
></p-dropdown>
The header text won't display until an accordion tab is expanded and the selected attribute is set. This only happens when ivy is disabled. This happens while specifying header as <ng-template pTemplate="header"> or <p-header>
Code: Select all
<p-accordion>
<p-accordionTab [selected]="false">
<ng-template pTemplate="header">
Header
</ng-template>
Body
</p-accordionTab>
</p-accordion>
I couldn't find much info about primeng and hybrid angular apps or even if this was officially supported. I also couldn't find any existing issues that matched my descriptions.
Anyone know anything about the issues I'm having? Thanks very much!