Commits
Giuseppe Digilio authored 9019b809939
8 8 | <!-- Draggable Items --> |
9 9 | <div *ngFor="let groupModel of model.groups; let idx = index" |
10 10 | role="group" |
11 11 | [formGroupName]="idx" |
12 12 | [ngClass]="[getClass('element', 'group'), getClass('grid', 'group')]" |
13 13 | cdkDrag |
14 14 | cdkDragHandle |
15 15 | [cdkDragDisabled]="dragDisabled" |
16 16 | [cdkDragPreviewClass]="'ds-submission-reorder-dragging'"> |
17 17 | <!-- Item content --> |
18 - | <div class="drag-handle" [class.invisible]="dragDisabled" tabindex="0"> |
19 - | <i class="drag-icon fas fa-grip-vertical fa-fw" ></i> |
18 + | <div class="drag-handle" [class.drag-disable]="dragDisabled" tabindex="0"> |
19 + | <i class="drag-icon fas fa-grip-vertical fa-fw" [class.drag-disable]="dragDisabled" ></i> |
20 20 | </div> |
21 21 | <ng-container *ngTemplateOutlet="startTemplate?.templateRef; context: groupModel"></ng-container> |
22 22 | <ds-dynamic-form-control-container *ngFor="let _model of groupModel.group" |
23 23 | [bindId]="false" |
24 24 | [formGroup]="group" |
25 25 | [context]="groupModel" |
26 26 | [group]="control.get([idx])" |
27 27 | [hidden]="_model.hidden" |
28 28 | [layout]="formLayout" |
29 29 | [model]="_model" |