We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I did the minimal setup for the example on the Docs, but in Angular 8.2 isn't working with build option with Ivy compiler.
Angular version: 8.2.5 Smart Table version: ^1.5.0" Other Dependencies: ng2-completer: 3.0.2 rxjs-compat: 6.5.3
table.ts
export class TableComponent{ settings = { columns: { id: { title: 'ID' }, name: { title: 'Full Name' }, username: { title: 'User Name' }, email: { title: 'Email' } } }; data = [ { id: 1, name: "Leanne Graham", username: "Bret", email: "Sincere@april.biz" }, { id: 2, name: "Ervin Howell", username: "Antonette", email: "Shanna@melissa.tv" }, { id: 3, name: "Nicholas DuBuque", username: "Nicholas.Stanton", email: "Rey.Padberg@rosamond.biz" } ]; }
html:
<ng2-smart-table [settings]="settings" [source]="data"></ng2-smart-table>
errors on chrome console:
core.js:6014 ERROR Error: Template error: Can't bind to 'ngClass' since it isn't a known property of 'table'. at createUnknownPropertyError (core.js:12759) at validateAgainstUnknownProperties (core.js:12698) at elementPropertyInternal (core.js:12603) at ɵɵproperty (core.js:19773) at Ng2SmartTableComponent_Template (ng2-smart-table.js:4425) at executeTemplate (core.js:12177) at checkView (core.js:13615) at componentRefresh (core.js:13359) at refreshChildComponents (core.js:11858) at refreshDescendantViews (core.js:11757) defaultErrorLogger @ core.js:6014 handleError @ core.js:6066 (anonymous) @ core.js:41068 invoke @ zone-evergreen.js:359 run @ zone-evergreen.js:124 runOutsideAngular @ core.js:39579 tick @ core.js:41065 (anonymous) @ core.js:40903 invoke @ zone-evergreen.js:359 onInvoke @ core.js:39706 invoke @ zone-evergreen.js:358 run @ zone-evergreen.js:124 run @ core.js:39518 next @ core.js:40900 schedulerFn @ core.js:35335 __tryOrUnsub @ Subscriber.js:183 next @ Subscriber.js:122 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:35297 checkStable @ core.js:39649 onHasTask @ core.js:39726 hasTask @ zone-evergreen.js:411 _updateTaskCount @ zone-evergreen.js:431 _updateTaskCount @ zone-evergreen.js:264 runTask @ zone-evergreen.js:185 drainMicroTaskQueue @ zone-evergreen.js:559 Promise.then (async) scheduleMicroTask @ zone-evergreen.js:542 scheduleTask @ zone-evergreen.js:381 onScheduleTask @ zone-evergreen.js:272 scheduleTask @ zone-evergreen.js:372 scheduleTask @ zone-evergreen.js:211 scheduleMicroTask @ zone-evergreen.js:231 scheduleResolveOrReject @ zone-evergreen.js:845 resolvePromise @ zone-evergreen.js:791 (anonymous) @ zone-evergreen.js:707 webpackJsonpCallback @ bootstrap:25 (anonymous) @ authorizations-authorizations-module.js:1 core.js:6014 ERROR Error: Template error: Can't bind to 'ngIf' since it isn't a known property of 'thead'. at createUnknownPropertyError (core.js:12759) at elementPropertyInternal (core.js:12625) at Module.ɵɵproperty (core.js:19773) at Ng2SmartTableComponent_Template (ng2-smart-table.js:4427) at executeTemplate (core.js:12177) at checkView (core.js:13615) at componentRefresh (core.js:13359) at refreshChildComponents (core.js:11858) at refreshDescendantViews (core.js:11757) at checkView (core.js:13616) defaultErrorLogger @ core.js:6014 handleError @ core.js:6066 (anonymous) @ core.js:41068 invoke @ zone-evergreen.js:359 run @ zone-evergreen.js:124 runOutsideAngular @ core.js:39579 tick @ core.js:41065 (anonymous) @ core.js:40903 invoke @ zone-evergreen.js:359 onInvoke @ core.js:39706 invoke @ zone-evergreen.js:358 run @ zone-evergreen.js:124 run @ core.js:39518 next @ core.js:40900 schedulerFn @ core.js:35335 __tryOrUnsub @ Subscriber.js:183 next @ Subscriber.js:122 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:35297 checkStable @ core.js:39649 onHasTask @ core.js:39726 hasTask @ zone-evergreen.js:411 _updateTaskCount @ zone-evergreen.js:431 _updateTaskCount @ zone-evergreen.js:264 runTask @ zone-evergreen.js:185 drainMicroTaskQueue @ zone-evergreen.js:559 Promise.then (async) scheduleMicroTask @ zone-evergreen.js:542 scheduleTask @ zone-evergreen.js:381 onScheduleTask @ zone-evergreen.js:272 scheduleTask @ zone-evergreen.js:372 scheduleTask @ zone-evergreen.js:211 scheduleMicroTask @ zone-evergreen.js:231 scheduleResolveOrReject @ zone-evergreen.js:845 resolvePromise @ zone-evergreen.js:791 (anonymous) @ zone-evergreen.js:707 webpackJsonpCallback @ bootstrap:25 (anonymous) @ authorizations-authorizations-module.js:1 core.js:6014 ERROR Error: Template error: Can't bind to 'grid' since it isn't a known property of 'tbody'. at createUnknownPropertyError (core.js:12759) at validateAgainstUnknownProperties (core.js:12698) at elementPropertyInternal (core.js:12603) at Module.ɵɵproperty (core.js:19773) at Ng2SmartTableComponent_Template (ng2-smart-table.js:4429) at executeTemplate (core.js:12177) at checkView (core.js:13615) at componentRefresh (core.js:13359) at refreshChildComponents (core.js:11858) at refreshDescendantViews (core.js:11757) defaultErrorLogger @ core.js:6014 handleError @ core.js:6066 (anonymous) @ core.js:41068 invoke @ zone-evergreen.js:359 run @ zone-evergreen.js:124 runOutsideAngular @ core.js:39579 tick @ core.js:41065 (anonymous) @ core.js:40903 invoke @ zone-evergreen.js:359 onInvoke @ core.js:39706 invoke @ zone-evergreen.js:358 run @ zone-evergreen.js:124 run @ core.js:39518 next @ core.js:40900 schedulerFn @ core.js:35335 __tryOrUnsub @ Subscriber.js:183 next @ Subscriber.js:122 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:35297 checkStable @ core.js:39649 onLeave @ core.js:39767 onInvokeTask @ core.js:39690 invokeTask @ zone-evergreen.js:390 runTask @ zone-evergreen.js:168 invokeTask @ zone-evergreen.js:465 invokeTask @ zone-evergreen.js:1603 globalZoneAwareCallback @ zone-evergreen.js:1629 load (async) customScheduleGlobal @ zone-evergreen.js:1742 scheduleTask @ zone-evergreen.js:378 onScheduleTask @ zone-evergreen.js:272 scheduleTask @ zone-evergreen.js:372 scheduleTask @ zone-evergreen.js:211 scheduleEventTask @ zone-evergreen.js:237 (anonymous) @ zone-evergreen.js:1911 desc.set @ zone-evergreen.js:1252 requireEnsure @ bootstrap:148 loadChildren @ components-routing.module.ts:31 loadModuleFactory @ router.js:6404 load @ router.js:6380 (anonymous) @ router.js:4587 _tryNext @ mergeMap.js:46 _next @ mergeMap.js:36 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ catchError.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ map.js:16 subscribe @ Observable.js:23 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ filter.js:13 subscribe @ Observable.js:23 call @ take.js:22 subscribe @ Observable.js:23 call @ throwIfEmpty.js:13 subscribe @ Observable.js:23 call @ catchError.js:16 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ catchError.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ map.js:16 subscribe @ Observable.js:23 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ filter.js:13 subscribe @ Observable.js:23 call @ take.js:22 subscribe @ Observable.js:23 call @ throwIfEmpty.js:13 subscribe @ Observable.js:23 call @ catchError.js:16 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 notifyNext @ mergeMap.js:69 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 notifyNext @ mergeMap.js:69 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 (anonymous) @ subscribeToPromise.js:5 invoke @ zone-evergreen.js:359 onInvoke @ core.js:39706 invoke @ zone-evergreen.js:358 run @ zone-evergreen.js:124 (anonymous) @ zone-evergreen.js:855 invokeTask @ zone-evergreen.js:391 onInvokeTask @ core.js:39687 invokeTask @ zone-evergreen.js:390 runTask @ zone-evergreen.js:168 drainMicroTaskQueue @ zone-evergreen.js:559 Promise.then (async) scheduleMicroTask @ zone-evergreen.js:542 scheduleTask @ zone-evergreen.js:381 onScheduleTask @ zone-evergreen.js:272 scheduleTask @ zone-evergreen.js:372 scheduleTask @ zone-evergreen.js:211 scheduleMicroTask @ zone-evergreen.js:231 scheduleResolveOrReject @ zone-evergreen.js:845 resolvePromise @ zone-evergreen.js:791 (anonymous) @ zone-evergreen.js:707 webpackJsonpCallback @ bootstrap:25 (anonymous) @ modules-components-module.js:1 Show 110 more frames core.js:6014 ERROR Error: Template error: Can't bind to 'source' since it isn't a known property of 'tbody'. at createUnknownPropertyError (core.js:12759) at validateAgainstUnknownProperties (core.js:12698) at elementPropertyInternal (core.js:12603) at ɵɵproperty (core.js:19773) at Ng2SmartTableComponent_Template (ng2-smart-table.js:4429) at executeTemplate (core.js:12177) at checkView (core.js:13615) at componentRefresh (core.js:13359) at refreshChildComponents (core.js:11858) at refreshDescendantViews (core.js:11757) defaultErrorLogger @ core.js:6014 handleError @ core.js:6066 (anonymous) @ core.js:41068 invoke @ zone-evergreen.js:359 run @ zone-evergreen.js:124 runOutsideAngular @ core.js:39579 tick @ core.js:41065 (anonymous) @ core.js:40903 invoke @ zone-evergreen.js:359 onInvoke @ core.js:39706 invoke @ zone-evergreen.js:358 run @ zone-evergreen.js:124 run @ core.js:39518 next @ core.js:40900 schedulerFn @ core.js:35335 __tryOrUnsub @ Subscriber.js:183 next @ Subscriber.js:122 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:35297 checkStable @ core.js:39649 onLeave @ core.js:39767 onInvokeTask @ core.js:39690 invokeTask @ zone-evergreen.js:390 runTask @ zone-evergreen.js:168 invokeTask @ zone-evergreen.js:465 invokeTask @ zone-evergreen.js:1603 globalZoneAwareCallback @ zone-evergreen.js:1640 load (async) customScheduleGlobal @ zone-evergreen.js:1742 scheduleTask @ zone-evergreen.js:378 onScheduleTask @ zone-evergreen.js:272 scheduleTask @ zone-evergreen.js:372 scheduleTask @ zone-evergreen.js:211 scheduleEventTask @ zone-evergreen.js:237 (anonymous) @ zone-evergreen.js:1911 (anonymous) @ http.js:2567 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ filter.js:13 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 connect @ ConnectableObservable.js:30 call @ refCount.js:17 subscribe @ Observable.js:23 call @ take.js:22 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 connect @ ConnectableObservable.js:30 call @ refCount.js:17 subscribe @ Observable.js:23 getTranslation @ ngx-translate-core.js:563 retrieveTranslations @ ngx-translate-core.js:546 use @ ngx-translate-core.js:519 changeLanguage @ app.component.ts:18 AppComponent_Template_router_outlet_activate_1_listener @ template.html:3 executeListenerWithErrorHandling @ core.js:22181 wrapListenerIn_markDirtyAndPreventDefault @ core.js:22216 schedulerFn @ core.js:35378 __tryOrUnsub @ Subscriber.js:183 next @ Subscriber.js:122 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:35297 activateWith @ router.js:8857 activateRoutes @ router.js:4017 (anonymous) @ router.js:3954 activateChildRoutes @ router.js:3949 activate @ router.js:3812 (anonymous) @ router.js:3785 _next @ map.js:29 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 notifyNext @ switchMap.js:67 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ switchMap.js:46 _next @ switchMap.js:36 next @ Subscriber.js:49 notifyNext @ switchMap.js:67 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 notifyNext @ mergeMap.js:69 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 _complete @ takeLast.js:52 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ mergeMap.js:64 complete @ Subscriber.js:61 (anonymous) @ subscribeToArray.js:5 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ scan.js:18 subscribe @ Observable.js:23 call @ takeLast.js:22 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ tap.js:16 subscribe @ Observable.js:23 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ tap.js:16 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ switchMap.js:46 _next @ switchMap.js:36 next @ Subscriber.js:49 _next @ filter.js:33 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 notifyNext @ mergeMap.js:69 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 notifyNext @ mergeMap.js:69 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _complete @ defaultIfEmpty.js:25 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ mergeMap.js:64 complete @ Subscriber.js:61 (anonymous) @ subscribeToArray.js:5 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ filter.js:13 subscribe @ Observable.js:23 call @ take.js:22 subscribe @ Observable.js:23 call @ defaultIfEmpty.js:10 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 _complete @ defaultIfEmpty.js:25 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ mergeMap.js:64 complete @ Subscriber.js:61 (anonymous) @ subscribeToArray.js:5 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ filter.js:13 subscribe @ Observable.js:23 call @ take.js:22 subscribe @ Observable.js:23 call @ defaultIfEmpty.js:10 subscribe @ Observable.js:23 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 notifyNext @ switchMap.js:67 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 Promise.then (async) scheduleMicroTask @ zone-evergreen.js:542 scheduleTask @ zone-evergreen.js:381 onScheduleTask @ zone-evergreen.js:272 scheduleTask @ zone-evergreen.js:372 scheduleTask @ zone-evergreen.js:211 scheduleMicroTask @ zone-evergreen.js:231 scheduleResolveOrReject @ zone-evergreen.js:845 resolvePromise @ zone-evergreen.js:791 (anonymous) @ zone-evergreen.js:707 webpackJsonpCallback @ bootstrap:25 (anonymous) @ authorizations-authorizations-module.js:1 Show 199 more frames core.js:6014 ERROR Error: Template error: Can't bind to 'deleteConfirm' since it isn't a known property of 'tbody'. at createUnknownPropertyError (core.js:12759) at validateAgainstUnknownProperties (core.js:12698) at elementPropertyInternal (core.js:12603) at ɵɵproperty (core.js:19773) at Ng2SmartTableComponent_Template (ng2-smart-table.js:4429) at executeTemplate (core.js:12177) at checkView (core.js:13615) at componentRefresh (core.js:13359) at refreshChildComponents (core.js:11858) at refreshDescendantViews (core.js:11757) defaultErrorLogger @ core.js:6014 handleError @ core.js:6066 (anonymous) @ core.js:41068 invoke @ zone-evergreen.js:359 run @ zone-evergreen.js:124 runOutsideAngular @ core.js:39579 tick @ core.js:41065 (anonymous) @ core.js:40903 invoke @ zone-evergreen.js:359 onInvoke @ core.js:39706 invoke @ zone-evergreen.js:358 run @ zone-evergreen.js:124 run @ core.js:39518 next @ core.js:40900 schedulerFn @ core.js:35335 __tryOrUnsub @ Subscriber.js:183 next @ Subscriber.js:122 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:35297 checkStable @ core.js:39649 onLeave @ core.js:39767 onInvokeTask @ core.js:39690 invokeTask @ zone-evergreen.js:390 runTask @ zone-evergreen.js:168 invokeTask @ zone-evergreen.js:465 invokeTask @ zone-evergreen.js:1603 globalZoneAwareCallback @ zone-evergreen.js:1629 XMLHttpRequest.send (async) (anonymous) @ VM51469:1 scheduleTask @ zone-evergreen.js:2952 scheduleTask @ zone-evergreen.js:378 onScheduleTask @ zone-evergreen.js:272 scheduleTask @ zone-evergreen.js:372 scheduleTask @ zone-evergreen.js:211 scheduleMacroTask @ zone-evergreen.js:234 scheduleMacroTaskWithCurrentZone @ zone-evergreen.js:1107 (anonymous) @ zone-evergreen.js:2985 proto.<computed> @ zone-evergreen.js:1428 (anonymous) @ http.js:2579 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ filter.js:13 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 connect @ ConnectableObservable.js:30 call @ refCount.js:17 subscribe @ Observable.js:23 call @ take.js:22 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 connect @ ConnectableObservable.js:30 call @ refCount.js:17 subscribe @ Observable.js:23 getTranslation @ ngx-translate-core.js:563 retrieveTranslations @ ngx-translate-core.js:546 use @ ngx-translate-core.js:519 changeLanguage @ app.component.ts:18 AppComponent_Template_router_outlet_activate_1_listener @ template.html:3 executeListenerWithErrorHandling @ core.js:22181 wrapListenerIn_markDirtyAndPreventDefault @ core.js:22216 schedulerFn @ core.js:35378 __tryOrUnsub @ Subscriber.js:183 next @ Subscriber.js:122 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:35297 activateWith @ router.js:8857 activateRoutes @ router.js:4017 (anonymous) @ router.js:3954 activateChildRoutes @ router.js:3949 activate @ router.js:3812 (anonymous) @ router.js:3785 _next @ map.js:29 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 notifyNext @ switchMap.js:67 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ switchMap.js:46 _next @ switchMap.js:36 next @ Subscriber.js:49 notifyNext @ switchMap.js:67 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 notifyNext @ mergeMap.js:69 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 _complete @ takeLast.js:52 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ mergeMap.js:64 complete @ Subscriber.js:61 (anonymous) @ subscribeToArray.js:5 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ scan.js:18 subscribe @ Observable.js:23 call @ takeLast.js:22 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 (anonymous) @ subscribeToArray.js:3 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ tap.js:16 subscribe @ Observable.js:23 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ tap.js:16 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ switchMap.js:46 _next @ switchMap.js:36 next @ Subscriber.js:49 _next @ filter.js:33 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 notifyNext @ mergeMap.js:69 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 notifyNext @ mergeMap.js:69 _next @ InnerSubscriber.js:11 next @ Subscriber.js:49 _complete @ defaultIfEmpty.js:25 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ mergeMap.js:64 complete @ Subscriber.js:61 (anonymous) @ subscribeToArray.js:5 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ filter.js:13 subscribe @ Observable.js:23 call @ take.js:22 subscribe @ Observable.js:23 call @ defaultIfEmpty.js:10 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 _complete @ defaultIfEmpty.js:25 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ Subscriber.js:79 complete @ Subscriber.js:61 _complete @ mergeMap.js:64 complete @ Subscriber.js:61 (anonymous) @ subscribeToArray.js:5 _trySubscribe @ Observable.js:42 subscribe @ Observable.js:28 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ filter.js:13 subscribe @ Observable.js:23 call @ take.js:22 subscribe @ Observable.js:23 call @ defaultIfEmpty.js:10 subscribe @ Observable.js:23 call @ mergeMap.js:21 subscribe @ Observable.js:23 call @ map.js:16 subscribe @ Observable.js:23 subscribeToResult @ subscribeToResult.js:9 _innerSub @ mergeMap.js:59 _tryNext @ mergeMap.js:53 _next @ mergeMap.js:36 next @ Subscriber.js:49 _next @ map.js:35 next @ Subscriber.js:49 _next @ tap.js:46 next @ Subscriber.js:49 notifyNext @ switchMap.js:67 _next @ InnerSubscriber.js:11 Promise.then (async) scheduleMicroTask @ zone-evergreen.js:542 scheduleTask @ zone-evergreen.js:381 onScheduleTask @ zone-evergreen.js:272 scheduleTask @ zone-evergreen.js:372 scheduleTask @ zone-evergreen.js:211 scheduleMicroTask @ zone-evergreen.js:231 scheduleResolveOrReject @ zone-evergreen.js:845 resolvePromise @ zone-evergreen.js:791 (anonymous) @ zone-evergreen.js:707 webpackJsonpCallback @ bootstrap:25 (anonymous) @ authorizations-authorizations-module.js:1 Show 199 more frames core.js:6014 ERROR Error: Template error: Can't bind to 'editConfirm' since it isn't a known property of 'tbody'. at createUnknownPropertyError (core.js:12759) at validateAgainstUnknownProperties (core.js:12698) at elementPropertyInternal (core.js:12603) at ɵɵproperty (core.js:19773) at Ng2SmartTableComponent_Template (ng2-smart-table.js:4429) at executeTemplate (core.js:12177) at checkView (core.js:13615) at componentRefresh (core.js:13359) at refreshChildComponents (core.js:11858) at refreshDescendantViews (core.js:11757)
If someone have the same problem this remove angularCompilerOptions from the tsconfig.app.json.
But I think is the best option is solve this for the next angular versions.
The text was updated successfully, but these errors were encountered:
I think it was caused by ng2-completer not being compatible with ivy, update ng2-compiler to 3.0.3 and it should work
don't forget to add ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points in the postinstall script in package.json
ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points
postinstall
package.json
note that I tested with angular 9 rc 8
Sorry, something went wrong.
can we have a fix angular 9 is released
No branches or pull requests
I did the minimal setup for the example on the Docs, but in Angular 8.2 isn't working with build option with Ivy compiler.
Angular version: 8.2.5
Smart Table version: ^1.5.0"
Other Dependencies:
ng2-completer: 3.0.2
rxjs-compat: 6.5.3
My component setting:
table.ts
html:
errors on chrome console:
If someone have the same problem this remove angularCompilerOptions from the tsconfig.app.json.
But I think is the best option is solve this for the next angular versions.
The text was updated successfully, but these errors were encountered: