Hi,
Is there a way to do some data binding on action buttons while using the service dialog.
const dialog: DialogRef = this.dialogService.open({
title: 'Create Dialog',
content: SomeFormComponent,
actionsLayout: 'end',
actions: [
{ text: 'Cancel', fillMode: 'clear', themeColor: 'accent' },
{
text: 'Create Something',
themeColor: 'primary',
fillMode: 'solid',
cssClass: 'height-override',
},
],
});
I want to place some binding to the "Create Something" button to toggle it being enabled/disabled.
Is this even possible? Is there some sort of workaround?
Thanks!