Hi guys,
I think it's very useful to have the ability to define plugins in items within a Form/Panel without extending/overextending those child items like this.
it('should be able to specify objects with additional config in "plugins" on widget initialization', () => {
widget = new Widget({
...widgetConfig,
plugins: [
{
type: TextAppendPlugin,
appendedText: 'PluggedFromConfig',
},
],
});
cy.getCmpEl(widget).should(
'have.text',
'Basic Widget PluggedFromConfig'
);
});
items: [{
type: 'combo',
plugins: []
}]Thanks.
Vadim