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

'p-buttonGroup' is not a known element in 18.0.0-beta.2 #16488

Closed
OleksiiPrykhodko opened this issue Oct 4, 2024 · 5 comments
Closed

'p-buttonGroup' is not a known element in 18.0.0-beta.2 #16488

OleksiiPrykhodko opened this issue Oct 4, 2024 · 5 comments
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@OleksiiPrykhodko
Copy link

Describe the bug

The button group can't be used in 18.0.0-beta.2

'p-buttonGroup' is not a known element:

  1. If 'p-buttonGroup' is an Angular component, then verify that it is included in the '@Component.imports' of this component.
  2. If 'p-buttonGroup' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@Component.schemas' of this component to suppress this message.ngtsc(-998001)

Environment

Windows

Reproducer

https://primeng.org/button#buttongroup

Angular version

18.0.0

PrimeNG version

18.0.0-beta.2

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

v20.13.1

Browser(s)

Any

Steps to reproduce the behavior

  1. Go to https://primeng.org/button#buttongroup and cope the HTML
  2. And it to the component and import ButtonModule.
  3. See the error.

Expected behavior

The ButtonGroup module can be imported and the p-ButtonGroup be used.

@OleksiiPrykhodko OleksiiPrykhodko 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 4, 2024
@gangz1o
Copy link

gangz1o commented Oct 9, 2024

yes, got the same issue as below:
image

@cetincakiroglu cetincakiroglu added this to the 18.0.0-beta.3 milestone Oct 11, 2024
@cetincakiroglu
Copy link
Contributor

Fixed in a40bb5d

@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Oct 14, 2024
@zakharenkov
Copy link

Reproduced in 18.0.0-beta.3

@3San360
Copy link

3San360 commented Nov 7, 2024

facing the same issue in 18 beta 2 version

@IvanBanifatsyeu
Copy link

add import { ButtonGroupModule } from 'primeng/buttongroup';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

6 participants