formio / angular

JSON powered forms for Angular

Home Page:https://formio.github.io/angular-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] change commit layout when removing multiple components

adhonay opened this issue · comments

Sem título

How can I within an angular project change the layout and confirmation message when removing several components of the webformBuilder?

After confirmation, it issues through this instance:

instance.on('removeComponent', (component, parent, path, index) => {
this.getchangeJsonEstrutura(instance.schema);
this.ngZone.run(() => {
this.change.emit({
type: 'deleteComponent',
builder: instance,
form: instance.schema,
component: component,
parent: parent,
path: path,
index: index
});
});
});

The implementation in formiojs looks like this. But it doesn't offer way to customize/stylize the confirmation box
Capturar