Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
polterguy committed Dec 21, 2023
1 parent cccc1b4 commit 3cbb466
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ export class IdeTreeComponent implements OnInit {
disableClose: true,
data: {
input: result.input,
description: el.description,
name: el.name,
},
}).afterClosed().subscribe((data: any) => {
if (data) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<h3 mat-dialog-title>Arguments to action</h3>
<h3 mat-dialog-title>Arguments to {{data.name}}</h3>

<form
[formGroup]="form"
(ngSubmit)="onSubmit(model)">

<div mat-dialog-content>

<p class="text-muted mb-4">
{{data.description}}
</p>

<formly-form
[form]="form"
[fields]="fields"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class ParametriseActionDialog implements OnInit {

ngOnInit() {

// Adding fields as returned from server.
for (const idx in this.data.input) {
const field: FormlyFieldConfig = {
key: idx,
Expand Down

0 comments on commit 3cbb466

Please sign in to comment.