nativescript-community / ui-pager

Pager / Carousel component that allows the user to swipe left and right through pages of data.
https://nativescript-community.github.io/ui-pager/
Apache License 2.0
19 stars 10 forks source link

[bug] Angular broken since 4.0.9 #56

Closed NathanWalker closed 7 months ago

NathanWalker commented 8 months ago

Appears angular compilation since 4.0.9 of ui-pager has been in this state:

  Global Error Handler:  TypeError: Cannot set properties of undefined (setting 'items')
  Global Error Stack Trace:  set items [as items] (file: src/webpack:/app/node_modules/@nativescript-community/ui-pager/angular/fesm2022/nativescript-community-ui-pager-angular.mjs:50:0)
  applyValueToInputField (file: src/webpack:/app/node_modules/@angular/core/fesm2022/core.mjs:4035:29)
  writeToDirectiveInput (file: src/webpack:/app/node_modules/@angular/core/fesm2022/core.mjs:11096:12)
  setInputsForProperty (file: src/webpack:/app/node_modules/@angular/core/fesm2022/core.mjs:12391:8)
  elementPropertyInternal (file: src/webpack:/app/node_modules/@angular/core/fesm2022/core.mjs:11692:8)
  Module.ɵɵproperty (file: src/webpack:/app/node_modules/@angular/core/fesm2022/core.mjs:21258:8)
  SignupComponent_Template (file: src/webpack:/app/src/app/components/signup/signup.component.html:21:8)
  executeTemplate (file: src/webpack:/app/node_modules/@angular/core/fesm2022/core.mjs:11268:8)
  refreshView (file: src/webpack:/app/node_modules/@angular/core/fesm2022/core.mjs:12791:12)
  detectChangesInView$1 (file: src/webpack:/app/node_modules/@angular/core/fesm2022/core.mjs:13015:8)

You will have to pin to 4.0.19 until this is resolved.

keerl commented 7 months ago

This should be fixed in 14.1.23