Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Documentation: Exception thrown when "cell-is-open" expression not specified #259

Closed
aschwartz-satcom opened this issue Jan 12, 2016 · 3 comments

Comments

@aschwartz-satcom
Copy link

The cell-is-open attribute is bound to the mwl-calendar directive's isolate scope using the "=" option.

The documentation does not specify that this attribute is required, but if omitted you will receive this exception every time a cell is clicked:

https://docs.angularjs.org/error/$compile/nonassign?p0=undefined&p1=mwlCalendar

EDIT: alternately, if it really is optional, use the "=?" binding option instead

@mattlewis92
Copy link
Owner

Ah thanks for reporting, I'll get that fixed up asap. Are you running angular 1.3.x by any chance?

@aschwartz-satcom
Copy link
Author

Yes, 1.3.8, sorry for not specifying.

Thanks!

@mattlewis92
Copy link
Owner

Thought that might be the case, as it doesn't happen with 1.4.x. Anyway it's fixed now in 0.18.2, thanks for reporting! 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants