angular-multi-select icon indicating copy to clipboard operation
angular-multi-select copied to clipboard

Issue injecting multi-select directive into another directive with same scope

Open highelves opened this issue 5 years ago • 0 comments

Hi, I'm basically trying to build an app containing multiple directives. I appreciate the code snippet overall. I am able to use your directive seamlessly over another plain AngularJS view.

Issue: I'm trying to inject your multi-select directive into a modal directive (modal window), which is failing here with the error

TypeError: Cannot read property 'getElementsByTagName' of undefined at Scope.$scope.getFormElements I see that over the line element.children().children().next().children().children()[ 0 ] , it is receiving the element.children().children() as empty HTMLCollection [] , thereby returning undefined,

Can you give any suggestions? [Already checked #201 , not related to that]

highelves avatar May 06 '19 21:05 highelves