Tooltip doesn't accept TemplateRef<HTMLElement> anymore #13866
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Hello, sorry in advance if my issue is not clear enough, that's my first one.
I am using tooltip and displaying a template inside it with a TemplateRef.
But a recent commit has removed that possibility, this following code has been changed:
I don't know if it was on purpose or not, but according to this, your documentation about tooltip is now outdated mentionning "Tooltip can use either a string or a TemplateRef."
On top of that I have been impacted by a change in the constructor taking as argument a ChangeDetectorRef instead of a ViewContainerRef previously.
Since these two changes are not really linked with the commit message "Add id and role attributes to tooltip for accessibility" I would like to know if they are going to be kept or not so I can update my code accordingly if yes.
For the moment I'm keeping my 16.4.1, so let me know.
Regards.
Environment
Angular app
Reproducer
No response
Angular version
^16.2.2
PrimeNG version
16.5.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.10.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: