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

OrderList: documentation doesn't indicate it needs @angular/cdk #15480

Closed
arlopezg opened this issue May 7, 2024 · 0 comments · Fixed by #15481
Closed

OrderList: documentation doesn't indicate it needs @angular/cdk #15480

arlopezg opened this issue May 7, 2024 · 0 comments · Fixed by #15481
Labels
Component: Documentation Issue or pull request is related to Documentation
Milestone

Comments

@arlopezg
Copy link
Contributor

arlopezg commented May 7, 2024

Describe the bug

Even though OrderListModule depends on @angular/cdk for drag&drog functionality, it's not specified in the docs. Trying to use the component without installing the CDK will result in an error as follows:

Error: Cannot resolve type entity i5.DragDropModule to symbol.
  at reflectTypeEntityToDeclaration
  at extraReferenceFromTypeQuery
  at file:///Users/$USER/$PROJECT/node_modules/@angular/compiler-cli
  at Array.map(<anonymous>) 
  at extractReferencesFromType
  at DtsMetadataReader.getNgModuleMetadata
  at CompoundMetadataReader.getNgModuleMetadata
  at StandaloneComponentScopeReader.getScopeForComponent
  at Compound ComponentScopeReader.getScopeForComponent
  at ComponentDecorator

Environment

OSX 13.0.1

Reproducer

No response

Angular version

17.3.6

PrimeNG version

17.14.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.11.1

Browser(s)

Chrome 123.0.6312.107

Steps to reproduce the behavior

No response

Expected behavior

Mention the dependency, like the PickList docs.

@arlopezg arlopezg added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 7, 2024
@cetincakiroglu cetincakiroglu added Component: Documentation Issue or pull request is related to Documentation and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels May 8, 2024
@cetincakiroglu cetincakiroglu added this to the 17.16.1 milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Issue or pull request is related to Documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants