|
|
@@ -3,8 +3,12 @@
|
|
|
<div class="card-block" *ngIf="operation.args?.length">
|
|
|
<form [formGroup]="form" *ngIf="operation" class="operation-inputs">
|
|
|
<div *ngFor="let arg of operation.args; trackBy: trackByName" class="arg-row">
|
|
|
- <ng-container *ngIf="form.get(arg.name)">
|
|
|
- <label>{{ getArgDef(arg)?.label || (arg.name | sentenceCase) }}</label>
|
|
|
+ <ng-container *ngIf="form.get(arg.name) && getArgDef(arg) as argDef">
|
|
|
+ <label>{{ argDef.label || (arg.name | sentenceCase) }}</label>
|
|
|
+ <vdr-help-tooltip
|
|
|
+ *ngIf="argDef.description"
|
|
|
+ [content]="argDef.description"
|
|
|
+ ></vdr-help-tooltip>
|
|
|
<vdr-dynamic-form-input
|
|
|
[def]="getArgDef(arg)"
|
|
|
[readonly]="readonly"
|