angular
angular copied to clipboard
Unable to edit child components using form builder.
When I try to edit text field getting parent.editcomponent is not a function exception
var editButton = parent.ce('div', {
class: 'btn btn-xxs btn-default component-settings-button component-settings-button-edit'
}, parent.getIcon('cog'));
parent.addEventListener(editButton, 'click', function () {
return parent.editComponent(comp);
});
Code is breaking at above mentioned code snippet in WebFormBuilder.js. What could be the issue.
Same issue.. Can anyone provide solution to it please.