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

Calendar error at click in date #2267

Closed
Programmercito opened this issue Mar 10, 2017 · 5 comments
Closed

Calendar error at click in date #2267

Programmercito opened this issue Mar 10, 2017 · 5 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Programmercito
Copy link

i got error in master and 2.0.3 version:

EXCEPTION: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: ''. Current value: '10'.
EXCEPTION: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: ''. Current value: '10'.
handleError @ vendor.js:1294
next @ vendor.js:4175
schedulerFn @ vendor.js:3430
SafeSubscriber.__tryOrUnsub @ vendor.js:12543
SafeSubscriber.next @ vendor.js:12492
Subscriber._next @ vendor.js:12434
Subscriber.next @ vendor.js:12398
Subject.next @ vendor.js:14008
emit @ vendor.js:3412
triggerError @ vendor.js:3630
onHandleError @ vendor.js:3596
ZoneDelegate.handleError @ polyfills.js:14690
Zone.runTask @ polyfills.js:14521
ZoneTask.invoke @ polyfills.js:14772
vendor.js:1303 ORIGINAL STACKTRACE:
handleError @ vendor.js:1303
next @ vendor.js:4175
schedulerFn @ vendor.js:3430
SafeSubscriber.__tryOrUnsub @ vendor.js:12543
SafeSubscriber.next @ vendor.js:12492
Subscriber._next @ vendor.js:12434
Subscriber.next @ vendor.js:12398
Subject.next @ vendor.js:14008
emit @ vendor.js:3412
triggerError @ vendor.js:3630
onHandleError @ vendor.js:3596
ZoneDelegate.handleError @ polyfills.js:14690
Zone.runTask @ polyfills.js:14521
ZoneTask.invoke @ polyfills.js:14772
vendor.js:1304 at View_Calendar_1 (/CalendarModule/Calendar/component.ngfactory.js:132:7) [angular]
handleError @ vendor.js:1304
next @ vendor.js:4175
schedulerFn @ vendor.js:3430
SafeSubscriber.__tryOrUnsub @ vendor.js:12543
SafeSubscriber.next @ vendor.js:12492
Subscriber._next @ vendor.js:12434
Subscriber.next @ vendor.js:12398
Subject.next @ vendor.js:14008
emit @ vendor.js:3412
triggerError @ vendor.js:3630
onHandleError @ vendor.js:3596
ZoneDelegate.handleError @ polyfills.js:14690
Zone.runTask @ polyfills.js:14521
ZoneTask.invoke @ polyfills.js:14772
vendor.js:1307 ERROR CONTEXT:
handleError @ vendor.js:1307
next @ vendor.js:4175
schedulerFn @ vendor.js:3430
SafeSubscriber.__tryOrUnsub @ vendor.js:12543
SafeSubscriber.next @ vendor.js:12492
Subscriber.next @ vendor.js:12434
Subscriber.next @ vendor.js:12398
Subject.next @ vendor.js:14008
emit @ vendor.js:3412
triggerError @ vendor.js:3630
onHandleError @ vendor.js:3596
ZoneDelegate.handleError @ polyfills.js:14690
Zone.runTask @ polyfills.js:14521
ZoneTask.invoke @ polyfills.js:14772
vendor.js:1308 DebugContext
{view: Object, nodeIndex: 1, nodeDef: Object, elDef: Object, elView: Object}
handleError @ vendor.js:1308
next @ vendor.js:4175
schedulerFn @ vendor.js:3430
SafeSubscriber.__tryOrUnsub @ vendor.js:12543
SafeSubscriber.next @ vendor.js:12492
Subscriber._next @ vendor.js:12434
Subscriber.next @ vendor.js:12398
Subject.next @ vendor.js:14008
emit @ vendor.js:3412
triggerError @ vendor.js:3630
onHandleError @ vendor.js:3596
ZoneDelegate.handleError @ polyfills.js:14690
Zone.runTask @ polyfills.js:14521
ZoneTask.invoke @ polyfills.js:14772
vendor.js:12547 Uncaught ZoneAwareError {_zone_symbol__error: Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Pre…, ngDebugContext: DebugContext, __zone_symbol__stack: " at View_Calendar_1 (/CalendarModule/Calendar/component.ngfactory.js:132:7) [angular]", __zone_symbol__message: "ExpressionChangedAfterItHasBeenCheckedError: Expre…checked. Previous value: ''. Current value: '10'."}

@external-olgierd
Copy link

That is not necessarily a calendar issue. Do you mind creating a plunker reproducing an issue?

@Programmercito
Copy link
Author

yes in this repository
https://github.com/Programmercito/primeng/tree/225cdd52aa7635b700a1611b28398f75a0f40898
in this tree in showcase calendar i get the error

@cagataycivici
Copy link
Member

What is your Angular version? I get this with Angular 4.

@cagataycivici cagataycivici self-assigned this Mar 11, 2017
@cagataycivici cagataycivici added this to the 4.0.RC1 milestone Mar 11, 2017
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Mar 11, 2017
@cagataycivici cagataycivici changed the title p-calendar error at click in date Calendar error at click in date Mar 11, 2017
@cagataycivici
Copy link
Member

Fixed via f01ab6b

@Programmercito
Copy link
Author

ohhh thanks i proved , yes i have angular 4.0.rc1

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

3 participants