Skip to content
This repository has been archived by the owner. 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

Projects
None yet
2 participants
@aschwartz-satcom
Copy link

aschwartz-satcom commented Jan 12, 2016

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

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Jan 12, 2016

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

@aschwartz-satcom

This comment has been minimized.

Copy link
Author

aschwartz-satcom commented Jan 12, 2016

Yes, 1.3.8, sorry for not specifying.

Thanks!

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Jan 12, 2016

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.
You can’t perform that action at this time.