dwmkerr / angular-modal-service

Modal service for AngularJS - supports creating popups and modals via a service.
MIT License
626 stars 321 forks source link

Jquery datepicker not open issue in modal #265

Open lbrevity opened 5 years ago

lbrevity commented 5 years ago

I'm using this angularModalService to open dialog (with template url and controller defined) from one of my angular js controller like below :

           ModalService.showModal({
                    templateUrl: 'AddPage.html',
                    scope: $scope.ModelObj,
                    controller: "AddPageController",
                  inputs: {
                        RPA: $scope.lansArray
                    },
                });

and my template code is like ,

``

and in model controller , I have function $scope.OpenCalender = function (id) { document.getElementById(id).focus(); }

This function is called proper from dialog but it's not open my calendar control.

dwmkerr commented 5 years ago

Is it possible to share a santised gist or something like this? My concern is that it might be a jquery issue rather than an angular modal service issue