Peter MacMillan
Peter MacMillan
Here is a plunker that reproduces the issue http://plnkr.co/edit/wZ2uuUGhYfEltWsQGN6R?p=preview Notice that when you type into the editor, the model is updated and is reflected in the pre tag. However, when...
I've created a workaround here: http://plnkr.co/edit/7Mo7BE3vEIdOvh41Jqfe?p=preview ``` javascript app.directive('fixAceInsert', function ($parse) { return { restrict: 'A', require: ['ngModel', 'fixAceInsert'], link: function (scope, el, attrs, ctrls) { var ngModel = ctrls[0];...
This seems to fix the issue. Basically the current code relies on the date selected. However if multiple calendars are selected then it doesn't know if the min month is...
> @pmacmillan You just have to move all the variable declarations out of `default` and add some tests. Can i do that and open a PR [...]? Please do!