PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
It seems that is-open attribute from uib-datepicker-popup directive doesn't accept all types of angular expressions. When giving it a method (ex. is_opened()) or a multiple boolean condition (ex: opened && focused && !beautiful), $watch seems to be doing its work (toggling the calendar with a button works as intended), but when you click on the outside of the calendar, you get a non-assignable angular error.
Link to minimally-working plunker that reproduces the issue:
Bug description:
It seems that
is-open
attribute fromuib-datepicker-popup
directive doesn't accept all types of angular expressions. When giving it a method (ex.is_opened()
) or a multiple boolean condition (ex:opened && focused && !beautiful
),$watch
seems to be doing its work (toggling the calendar with a button works as intended), but when you click on the outside of the calendar, you get a non-assignable angular error.Link to minimally-working plunker that reproduces the issue:
https://plnkr.co/edit/cxVK6ehXqjHEhunbhwlS
Steps to reproduce the issue:
Version of Angular, UIBS, and Bootstrap
Angular: reproduced on 1.6.1 & 1.6.4
UIBS: 2.5.0
Bootstrap: 3.3.7