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

ToggleButton: Missing ToggleButtonChangeEvent in component #17209

Closed
1 of 4 tasks
itismohammadreza opened this issue Dec 25, 2024 · 0 comments · Fixed by #17214
Closed
1 of 4 tasks

ToggleButton: Missing ToggleButtonChangeEvent in component #17209

itismohammadreza opened this issue Dec 25, 2024 · 0 comments · Fixed by #17214
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Milestone

Comments

@itismohammadreza
Copy link
Contributor

Describe the bug

The ToggleButton component does not have an exported member named ToggleButtonChangeEvent. This type is referenced in the documentation and code samples but is missing from the actual exports.

image

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/gnhrqljy?file=src%2Fapp%2Ftoggle-button-basic-demo.ts

Environment

windows

Angular version

19.0.0

PrimeNG version

v19

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. try to import ToggleButtonChangeEvent from 'primeng/togglebutton'
  2. it throw error Module '"primeng/togglebutton"' has no exported member 'ToggleButtonChangeEvent'.

Expected behavior

The module "primeng/togglebutton" should export a member named ToggleButtonChangeEvent.

@itismohammadreza itismohammadreza added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 25, 2024
@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 25, 2024
@mertsincan mertsincan added this to the 19.0.2 milestone Dec 25, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 25, 2024
mehmetcetin01140 added a commit that referenced this issue Dec 26, 2024
…missing-export

Fix: ToggleButton(#17209) Missing ToggleButtonChangeEvent export
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeNG Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants