ion-tree-list icon indicating copy to clipboard operation
ion-tree-list copied to clipboard

templateUrl not working from within other template

Open alanmilinovic opened this issue 8 years ago • 1 comments

Hi,

I am using your directive with ion-autocomplete. Basically I changed ion-autocomplete template by applying your ion-tree-list in it. The problem is that I also want to override your default template by applying this in code: <ion-tree-list items="items" template-url="'common/tree_list_template.html'"></ion-tree-list>

Application just freeze after searching binding your tree control. Also one question, why don't you populate your template url like this:

this.templateUrl = valueOrDefault($attrs.templateUrl, undefined);

Regards, Alan

alanmilinovic avatar May 11 '16 09:05 alanmilinovic

Oh, sorry. I just realized that your template is only related to "item_default_renderer", but I want to change entire template file ion-tree-list.tmpl.html. Is it possible without changing your source code.

alanmilinovic avatar May 11 '16 10:05 alanmilinovic