Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: Tooltip #13876

Closed
zakharenkov opened this issue Oct 13, 2023 · 2 comments
Closed

Component: Tooltip #13876

zakharenkov opened this issue Oct 13, 2023 · 2 comments
Assignees

Comments

@zakharenkov
Copy link

Describe the bug

I think there is a copy-paste error in the code.
Please check line 268 in the ngOnChanges method:

 if (simpleChange.id) {
    this.setOption({ id: simpleChange.text.currentValue }); <----- Shouldn't there be an id here?  simpleChange.id.currentValue
}

if (simpleChange.autoHide) {
    this.setOption({ autoHide: simpleChange.autoHide.currentValue });
}

Environment

Angular app

Reproducer

No response

Angular version

16.2.5

PrimeNG version

16.5.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.16.1

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@zakharenkov zakharenkov added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 13, 2023
@cetincakiroglu cetincakiroglu removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 13, 2023
@cetincakiroglu cetincakiroglu self-assigned this Oct 13, 2023
@cetincakiroglu
Copy link
Contributor

Thanks for reporting the issue!

@cetincakiroglu
Copy link
Contributor

Fixed in 5d964d7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants