selectButton: Conditional template rendering is not working #13053
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
In some case I have a usage like this :
and I want to show template if the
condition
istrue
and use the default template if it isfalse
.Its behavior is that if
condition = false
it still uses the template in the code above.other components like dropdown etc. have this feature properly for using
TemplateDirective
, butselectButton
don't use it and cause this issue.Reproducer
https://stackblitz.com/edit/github-wrgned?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts
Angular version
16.0.1
PrimeNG version
16.0.0
The text was updated successfully, but these errors were encountered: