Notifications

34 views

Description

Symptoms

Cloned widget does not work if the original widget uses Angular ng-template, even though nothing has changed in the widget. 

Release

All releases

Cause

One of the causes of this issue is that even though the Angular ng-templates are cloned, their references are not changed in the cloned widget. 

Resolution

To fix the issue, change the name of the template reference in the widget. 

For example, the header menu widget uses the Angular ng-template "menuTemplate". If you clone the header menu widget, you must also clone the menuTemplate and give the clone a unique name. When you open the clone of the header menu widget, you have to fix all the references of "menuTemplate" to the new name of the cloned template. 

Additional Information

Clone a widget

Article Information

Last Updated:2019-08-02 20:46:52
Published:2019-04-06